[test] Serialize CTransaction with witness by default
This commit is contained in:
parent
cf2c0b6f5c
commit
57273f2b30
4 changed files with 21 additions and 15 deletions
test/functional/test_framework
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue