mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 10:42:23 +02:00
change default Python block serialization to witness
This commit is contained in:
@ -605,7 +605,7 @@ class CBlock(CBlockHeader):
|
||||
super(CBlock, self).deserialize(f)
|
||||
self.vtx = deser_vector(f, CTransaction)
|
||||
|
||||
def serialize(self, with_witness=False):
|
||||
def serialize(self, with_witness=True):
|
||||
r = b""
|
||||
r += super(CBlock, self).serialize()
|
||||
if with_witness:
|
||||
|
Reference in New Issue
Block a user