aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/script.py
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-11-30 16:49:01 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2018-01-09 15:27:55 -0800
commit57273f2b302949d4ca3511f703627b5d717be40c (patch)
tree1802905af456623f59bbe3cef222e9cc67cc6201 /test/functional/test_framework/script.py
parentcf2c0b6f5cde584d7004ff1b5b476ef54de6b74b (diff)
downloadbitcoin-57273f2b302949d4ca3511f703627b5d717be40c.tar.xz
[test] Serialize CTransaction with witness by default
Diffstat (limited to 'test/functional/test_framework/script.py')
-rw-r--r--test/functional/test_framework/script.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/script.py b/test/functional/test_framework/script.py
index a4c046bd3d..79382cc6d5 100644
--- a/test/functional/test_framework/script.py
+++ b/test/functional/test_framework/script.py
@@ -641,7 +641,7 @@ def SignatureHash(script, txTo, inIdx, hashtype):
txtmp.vin = []
txtmp.vin.append(tmp)
- s = txtmp.serialize()
+ s = txtmp.serialize_without_witness()
s += struct.pack(b"<I", hashtype)
hash = hash256(s)