xyz.stratalab.consensus.models.StakingAddressValidator.scala Maven / Gradle / Ivy
The newest version!
package xyz.stratalab.consensus.models
object StakingAddressValidator extends scalapb.validate.Validator[xyz.stratalab.consensus.models.StakingAddress] {
def validate(input: xyz.stratalab.consensus.models.StakingAddress): scalapb.validate.Result =
scalapb.validate.Result.run(io.envoyproxy.pgv.BytesValidation.length("StakingAddress.value", input.value, 32))
}