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