diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-07-15 10:34:08 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-07-15 10:34:08 +0200 |
commit | 7945088d413819d8cf1772fd25e0f355c84c64d6 (patch) | |
tree | c9e12d68fcedec95562353802e7eac48b6cc6c31 /qa | |
parent | 68d7682b9f8c0f548e0a9ef03296320b8ae3960d (diff) |
[Wallet] comsetic non-code changes for the HD feature
Diffstat (limited to 'qa')
-rwxr-xr-x | qa/rpc-tests/wallet-hd.py | 4 |
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) |