network: fix MerkleBlockPayload serialisation

This commit is contained in:
Anna Shaleva 2020-10-02 19:25:15 +03:00
parent 05c1b8746a
commit c79d440c21

View file

@ -26,7 +26,6 @@ func (m *MerkleBlock) DecodeBinary(br *io.BinReader) {
// EncodeBinary implements Serializable interface.
func (m *MerkleBlock) EncodeBinary(bw *io.BinWriter) {
m.Base = &block.Base{}
m.Base.EncodeBinary(bw)
bw.WriteVarUint(uint64(m.TxCount))