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