aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDusty Williams <dusty.wil@gmail.com>2017-10-08 23:18:48 -0400
committerMarcoFalke <falke.marco@gmail.com>2017-10-09 22:31:41 +0200
commit405e069d3b8c71b0f5161d9dfb2334a0bb988f2e (patch)
tree799cfbf80fa3752ebb3b8ff79149bcde521122e8 /test
parentc94527a973611d7bc230af37d946d0c2d8b3ad13 (diff)
downloadbitcoin-405e069d3b8c71b0f5161d9dfb2334a0bb988f2e.tar.xz
Update importprivkey named args documentation
Fixes #11462. Updated documentation for importprivkey function to use the correct name for the first argument. Also updates a call to importprivkey to use named args in functional test. Github-Pull: #11465 Rebased-From: aa57590d7c5eab1df5443e8ac9ed53ad0db46c02
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/importprunedfunds.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/importprunedfunds.py b/test/functional/importprunedfunds.py
index 94753fe431..198a2058aa 100755
--- a/test/functional/importprunedfunds.py
+++ b/test/functional/importprunedfunds.py
@@ -82,8 +82,8 @@ class ImportPrunedFundsTest(BitcoinTestFramework):
assert_equal(balance2, Decimal('0.05'))
#Import with private key with no rescan
- self.nodes[1].importprivkey(address3_privkey, "add3", False)
- result3 = self.nodes[1].importprunedfunds(rawtxn3, proof3)
+ 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'))
balance3 = self.nodes[1].getbalance("*", 0, True)