diff options
author | Andrew Chow <achow101-github@achow101.com> | 2021-07-20 22:05:28 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2021-12-08 09:43:30 -0500 |
commit | d3992669df826899a3de78a77a366dab46028026 (patch) | |
tree | 88db710726604a280508545af599c3c3f609b435 /test | |
parent | eb9a1a2c595a03475fd4275b104676b7e2200f07 (diff) |
psbt: Actually use SIGHASH_DEFAULT
Make the behavior align with the help text by actually using
SIGHASH_DEFAULT as the default sighash for signing PSBTs.
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/rpc_psbt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_psbt.py b/test/functional/rpc_psbt.py index a8034849cc..153a201e95 100755 --- a/test/functional/rpc_psbt.py +++ b/test/functional/rpc_psbt.py @@ -457,7 +457,7 @@ class PSBTTest(BitcoinTestFramework): wrpc = self.nodes[2].get_wallet_rpc("wallet{}".format(i)) for key in signer['privkeys']: wrpc.importprivkey(key) - signed_tx = wrpc.walletprocesspsbt(signer['psbt'])['psbt'] + signed_tx = wrpc.walletprocesspsbt(signer['psbt'], True, "ALL")['psbt'] assert_equal(signed_tx, signer['result']) # Combiner test |