diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2017-11-30 16:49:01 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-01-09 15:27:55 -0800 |
commit | 57273f2b302949d4ca3511f703627b5d717be40c (patch) | |
tree | 1802905af456623f59bbe3cef222e9cc67cc6201 /test/functional/test_framework/script.py | |
parent | cf2c0b6f5cde584d7004ff1b5b476ef54de6b74b (diff) |
[test] Serialize CTransaction with witness by default
Diffstat (limited to 'test/functional/test_framework/script.py')
-rw-r--r-- | test/functional/test_framework/script.py | 2 |
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) |