diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-01-23 09:02:02 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-01-23 08:59:51 -0500 |
commit | faf40810d7b7f42f3588bfa8a663095aa24001b1 (patch) | |
tree | ab32c95777c3f4f24d8a55a6299459f1302638a6 /test/functional/test_framework/messages.py | |
parent | 7a311fa54a936ea611d47204ba4530ffd4529981 (diff) | |
download | bitcoin-faf40810d7b7f42f3588bfa8a663095aa24001b1.tar.xz |
test: Make msg_tx a witness tx
Diffstat (limited to 'test/functional/test_framework/messages.py')
-rwxr-xr-x | test/functional/test_framework/messages.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py index 25520a2151..4f7a9a8b13 100755 --- a/test/functional/test_framework/messages.py +++ b/test/functional/test_framework/messages.py @@ -1105,17 +1105,17 @@ class msg_tx: self.tx.deserialize(f) def serialize(self): - return self.tx.serialize_without_witness() + return self.tx.serialize_with_witness() def __repr__(self): return "msg_tx(tx=%s)" % (repr(self.tx)) -class msg_witness_tx(msg_tx): +class msg_no_witness_tx(msg_tx): __slots__ = () def serialize(self): - return self.tx.serialize_with_witness() + return self.tx.serialize_without_witness() class msg_block: |