org.plasmalabs.consensus.models.StakingRegistrationValidator.scala Maven / Gradle / Ivy
The newest version!
package org.plasmalabs.consensus.models
object StakingRegistrationValidator extends scalapb.validate.Validator[org.plasmalabs.consensus.models.StakingRegistration] {
def validate(input: org.plasmalabs.consensus.models.StakingRegistration): scalapb.validate.Result =
org.plasmalabs.consensus.models.StakingAddressValidator.validate(input.address) &&
org.plasmalabs.consensus.models.SignatureKesProductValidator.validate(input.signature)
}