change default Python block serialization to witness
This commit is contained in:
1 parent
717fd58c4b
commit
124ea38e39
1 file changed
+1
-1
@@ -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