String returns a human readable string representation of the BlockID. 1. hash 2. part set header See PartSetHeader#String
()
| 1224 | // |
| 1225 | // See PartSetHeader#String |
| 1226 | func (blockID BlockID) String() string { |
| 1227 | return fmt.Sprintf(`%v:%v`, blockID.Hash, blockID.PartSetHeader) |
| 1228 | } |
| 1229 | |
| 1230 | // ToProto converts BlockID to protobuf |
| 1231 | func (blockID *BlockID) ToProto() tmproto.BlockID { |
nothing calls this directly
no outgoing calls
no test coverage detected