aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_importmulti.py
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-11-13 16:49:17 -0500
committerMarcoFalke <[email protected]>2018-11-13 16:49:23 -0500
commit8c59bb85f9798429fb1372b8e83378d292888286 (patch)
tree81397205feecff60fba872b9fc38eb4624acec0c /test/functional/wallet_importmulti.py
parentMerge #14679: importmulti: Don't add internal addresses to address book (diff)
parentrpc: Correctly name arguments (diff)
downloaddiscoin-8c59bb85f9798429fb1372b8e83378d292888286.tar.xz
discoin-8c59bb85f9798429fb1372b8e83378d292888286.zip
Merge #14720: rpc: Correctly name arguments
fa0815c300 rpc: Correctly name arguments (Jon Layton) Pull request description: Consistently use the same name to describe arguments in the documentation and add a test that uses the name. By splitting it up, the changes are easier to potentially backport and also make review easier when we switch to `RPCHelpMan`. The tests should pass with or without the changes in `src`. Partly stolen from #14459 (More RPC help description fixes by ch4ot1c) Tree-SHA512: 1072992b1e93ac41006613523e54a0a8004f529fcb101eb9d74d91474abb0945a5a7539f249905151b904b87448f9efc0cacbd9e052fbe2ea9111e62f3e7249c
Diffstat (limited to 'test/functional/wallet_importmulti.py')
-rwxr-xr-xtest/functional/wallet_importmulti.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/wallet_importmulti.py b/test/functional/wallet_importmulti.py
index f2855b6e8..5c789b1c0 100755
--- a/test/functional/wallet_importmulti.py
+++ b/test/functional/wallet_importmulti.py
@@ -155,7 +155,7 @@ class ImportMultiTest(BitcoinTestFramework):
"pubkeys": [ address['pubkey'] ],
"internal": True
}]
- result = self.nodes[1].importmulti(request)
+ result = self.nodes[1].importmulti(requests=request)
assert_equal(result[0]['success'], True)
address_assert = self.nodes[1].getaddressinfo(address['address'])
assert_equal(address_assert['iswatchonly'], True)
@@ -170,7 +170,7 @@ class ImportMultiTest(BitcoinTestFramework):
"timestamp": "now",
"pubkeys": [ address['pubkey'] ]
}]
- result = self.nodes[1].importmulti(request)
+ result = self.nodes[1].importmulti(requests=request)
assert_equal(result[0]['success'], False)
assert_equal(result[0]['error']['code'], -8)
assert_equal(result[0]['error']['message'], 'Internal must be set to true for nonstandard scriptPubKey imports.')