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