diff options
author | Andrew Chow <achow101-github@achow101.com> | 2018-08-08 16:14:01 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-08-13 08:41:19 -0700 |
commit | 5df6f089b53c5b5859e5a3454c026447e4752f82 (patch) | |
tree | 9463dbd1099332c54271aa7cfb6e01a35af54b49 /test/functional/rpc_psbt.py | |
parent | 7c8bffdc24e005c3044a9a80bbc227b2a39b8605 (diff) |
More tests of signer checks
Diffstat (limited to 'test/functional/rpc_psbt.py')
-rwxr-xr-x | test/functional/rpc_psbt.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/rpc_psbt.py b/test/functional/rpc_psbt.py index 26eca031c0..99c4131d61 100755 --- a/test/functional/rpc_psbt.py +++ b/test/functional/rpc_psbt.py @@ -168,9 +168,11 @@ class PSBTTest(BitcoinTestFramework): # Signer tests for i, signer in enumerate(signers): + self.nodes[2].createwallet("wallet{}".format(i)) + wrpc = self.nodes[2].get_wallet_rpc("wallet{}".format(i)) for key in signer['privkeys']: - self.nodes[i].importprivkey(key) - signed_tx = self.nodes[i].walletprocesspsbt(signer['psbt'])['psbt'] + wrpc.importprivkey(key) + signed_tx = wrpc.walletprocesspsbt(signer['psbt'])['psbt'] assert_equal(signed_tx, signer['result']) # Combiner test |