serialize the consensus payload
()
| 63 | |
| 64 | //serialize the consensus payload |
| 65 | func (this *ConsensusPayload) ToArray() []byte { |
| 66 | return common.SerializeToBytes(this) |
| 67 | } |
| 68 | |
| 69 | //return inventory type |
| 70 | func (this *ConsensusPayload) InventoryType() common.InventoryType { |
nothing calls this directly
no test coverage detected