org.plasmalabs.sdk.models.TransactionIdValidator.scala Maven / Gradle / Ivy
The newest version!
package org.plasmalabs.sdk.models
object TransactionIdValidator extends scalapb.validate.Validator[org.plasmalabs.sdk.models.TransactionId] {
def validate(input: org.plasmalabs.sdk.models.TransactionId): scalapb.validate.Result =
scalapb.validate.Result.run(io.envoyproxy.pgv.BytesValidation.length("TransactionId.value", input.value, 32))
}