aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGregory Sanders <gsanders87@gmail.com>2019-04-02 10:18:12 -0400
committerGregory Sanders <gsanders87@gmail.com>2019-04-02 10:18:12 -0400
commit124ea38e39320d6f63cdf24979d0c1ff92cd769c (patch)
treeeff7c8aac60a07ab4fdfed015078a152752af3cc /test
parent717fd58c4ba5c64778fa9a8bf6bbf5ae1164df3f (diff)
change default Python block serialization to witness
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/test_framework/messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py
index 7cf51d9223..954ae3c4df 100755
--- a/test/functional/test_framework/messages.py
+++ b/test/functional/test_framework/messages.py
@@ -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: