org.plasmalabs.node.services.FetchBlockIdAtDepthResValidator.scala Maven / Gradle / Ivy
The newest version!
package org.plasmalabs.node.services
object FetchBlockIdAtDepthResValidator extends scalapb.validate.Validator[org.plasmalabs.node.services.FetchBlockIdAtDepthRes] {
def validate(input: org.plasmalabs.node.services.FetchBlockIdAtDepthRes): scalapb.validate.Result =
scalapb.validate.Result.optional(input.blockId) { _value =>
org.plasmalabs.consensus.models.BlockIdValidator.validate(_value)
}
}