diff options
author | MarcoFalke <falke.marco@gmail.com> | 2017-10-09 19:09:38 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-10-09 19:09:45 +0200 |
commit | 92eadc395071876d77f3babddc056b4325bdbabc (patch) | |
tree | 3bdf8aee29960b7e0c3a5fdc01c1163eb8b29fd5 /test | |
parent | 3a93270c55876cc88e1a3e2921e582acc6db318e (diff) | |
parent | aa57590d7c5eab1df5443e8ac9ed53ad0db46c02 (diff) | |
download | bitcoin-92eadc395071876d77f3babddc056b4325bdbabc.tar.xz |
Merge #11465: rpc: Update named args documentation for importprivkey
aa57590d7 Update importprivkey named args documentation (Dusty Williams)
Pull request description:
Addresses issue #11462 by updating the documentation for the importprivkey arguments to the correct names, and updates the functional test importprunedfunds.py to use named arguments when calling importprivkey.
Tree-SHA512: 64e14bf89c8c6eec9c37f6ec0c9fc0012fdb035d9ec32cd652110c75abaa922ec5c7523d6ec5098c8a7b42124159b5e330e070974eb79b8b92816f8d61074523
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/importprunedfunds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/importprunedfunds.py b/test/functional/importprunedfunds.py index cb70010668..9619d67952 100755 --- a/test/functional/importprunedfunds.py +++ b/test/functional/importprunedfunds.py @@ -78,7 +78,7 @@ class ImportPrunedFundsTest(BitcoinTestFramework): assert_equal(balance2, Decimal('0.05')) #Import with private key with no rescan - self.nodes[1].importprivkey(address3_privkey, "add3", False) + self.nodes[1].importprivkey(privkey=address3_privkey, label="add3", rescan=False) self.nodes[1].importprunedfunds(rawtxn3, proof3) balance3 = self.nodes[1].getbalance("add3", 0, False) assert_equal(balance3, Decimal('0.025')) |