diff options
| author | MarcoFalke <[email protected]> | 2016-09-09 23:20:16 +0200 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2016-09-09 23:20:21 +0200 |
| commit | 2a0836f6d5e7c1d7e97bedb0e0ea33dcaf981f77 (patch) | |
| tree | 09a30b13d39dd66e0aedf21140ccf3ba2c04947a | |
| parent | Merge #8678: [Qt][CoinControl] fix UI bug that could result in paying unexpec... (diff) | |
| parent | Fix SIGHASH_SINGLE bug in test_framework SignatureHash (diff) | |
| download | discoin-2a0836f6d5e7c1d7e97bedb0e0ea33dcaf981f77.tar.xz discoin-2a0836f6d5e7c1d7e97bedb0e0ea33dcaf981f77.zip | |
Merge #8667: Fix SIGHASH_SINGLE bug in test_framework SignatureHash
2f2548d Fix SIGHASH_SINGLE bug in test_framework SignatureHash (Johnson Lau)
| -rw-r--r-- | qa/rpc-tests/test_framework/script.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/rpc-tests/test_framework/script.py b/qa/rpc-tests/test_framework/script.py index b46c643cc..83bbf2047 100644 --- a/qa/rpc-tests/test_framework/script.py +++ b/qa/rpc-tests/test_framework/script.py @@ -882,7 +882,7 @@ def SignatureHash(script, txTo, inIdx, hashtype): tmp = txtmp.vout[outIdx] txtmp.vout = [] for i in range(outIdx): - txtmp.vout.append(CTxOut()) + txtmp.vout.append(CTxOut(-1)) txtmp.vout.append(tmp) for i in range(len(txtmp.vin)): |