diff options
author | John Newbery <john@johnnewbery.com> | 2019-07-02 18:34:18 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-07-04 08:02:23 -0400 |
commit | 3b11420b3c91f731b03805a39e48ee32e54484a2 (patch) | |
tree | b6c532466aab63ca13e437e87117825e349899db /test/functional | |
parent | 2f717fb5cdfc312784f9c1539fc41cdfcfbde452 (diff) | |
download | bitcoin-3b11420b3c91f731b03805a39e48ee32e54484a2.tar.xz |
[RPC] add new utxoupdatepsbt arguments to the CRPCCommand and CPRCConvertParam tables
The new `descriptors` argument needs to be added to the Command and
ConvertParams tables to by usable as a named argument and by
bitcoin-cli.
Also update the test to use named arguments to test this.
Diffstat (limited to 'test/functional')
-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 2fffe96ebe..dc113da530 100755 --- a/test/functional/rpc_psbt.py +++ b/test/functional/rpc_psbt.py @@ -346,7 +346,7 @@ class PSBTTest(BitcoinTestFramework): # Try again, now while providing descriptors, making P2SH-segwit work, and causing bip32_derivs and redeem_script to be filled in descs = [self.nodes[1].getaddressinfo(addr)['desc'] for addr in [addr1,addr2,addr3]] - updated = self.nodes[1].utxoupdatepsbt(psbt, descs) + updated = self.nodes[1].utxoupdatepsbt(psbt=psbt, descriptors=descs) decoded = self.nodes[1].decodepsbt(updated) test_psbt_input_keys(decoded['inputs'][0], ['witness_utxo', 'bip32_derivs']) test_psbt_input_keys(decoded['inputs'][1], []) |