aboutsummaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-07-15 10:34:08 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2016-07-15 10:34:08 +0200
commit7945088d413819d8cf1772fd25e0f355c84c64d6 (patch)
treec9e12d68fcedec95562353802e7eac48b6cc6c31 /qa
parent68d7682b9f8c0f548e0a9ef03296320b8ae3960d (diff)
[Wallet] comsetic non-code changes for the HD feature
Diffstat (limited to 'qa')
-rwxr-xr-xqa/rpc-tests/wallet-hd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/rpc-tests/wallet-hd.py b/qa/rpc-tests/wallet-hd.py
index f3ae69e106..c738ee2207 100755
--- a/qa/rpc-tests/wallet-hd.py
+++ b/qa/rpc-tests/wallet-hd.py
@@ -47,10 +47,10 @@ class WalletHDTest(BitcoinTestFramework):
self.nodes[0].generate(101)
hd_add = None
num_hd_adds = 300
- for _ in range(num_hd_adds):
+ for i in range(num_hd_adds):
hd_add = self.nodes[1].getnewaddress()
hd_info = self.nodes[1].validateaddress(hd_add)
- assert_equal(hd_info["hdkeypath"], "m/0'/0'/"+str(_+1)+"'")
+ assert_equal(hd_info["hdkeypath"], "m/0'/0'/"+str(i+1)+"'")
assert_equal(hd_info["hdmasterkeyid"], masterkeyid)
self.nodes[0].sendtoaddress(hd_add, 1)
self.nodes[0].generate(1)