func (vp *ValidatorProof) ToProto() *pb.ValidatorProof {
	return &pb.ValidatorProof{
		ShardID:        vp.ShardID,
		ValidatorIndex: vp.ValidatorIndex,
		PublicKey:      vp.PublicKey[:],
		Proof:          vp.Proof.ToProto(),
	}
}
// ToProto converts the validator proof to protobuf format.
ToProto converts the validator proof to protobuf format.
// ToProto converts the validator proof to protobuf format .
func (vp *ValidatorProof) ToProto() *pb.ValidatorProof {
	return &pb.ValidatorProof{
		ShardID:        vp.ShardID,
		ValidatorIndex: vp.ValidatorIndex,
		PublicKey:      vp.PublicKey[:],
		Proof:          vp.Proof.ToProto(),
	}
}
func ( vp * ValidatorProof ) ToProto ( ) * pb . ValidatorProof { return & pb . ValidatorProof { ShardID : vp . ShardID , ValidatorIndex : vp . ValidatorIndex , PublicKey : vp . PublicKey [ : ] , Proof : vp . Proof . ToProto ( ) , } }
ToProto converts the validator proof to protobuf format.
ToProto converts the validator proof to protobuf format .