diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-01-17 08:55:30 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2017-03-24 10:28:39 +0100 |
commit | 79df9df3482d71391dee1dd59054aed8f7bbfa6b (patch) | |
tree | 6fcfc3d7002941d921faf4ee5c4c0440e1fcce46 /test/functional/wallet-dump.py | |
parent | bcafca1077cf789ba79d16501a8cbb5d692bf8e6 (diff) |
Switch to 100% for the HD internal keypool size
Diffstat (limited to 'test/functional/wallet-dump.py')
-rwxr-xr-x | test/functional/wallet-dump.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/wallet-dump.py b/test/functional/wallet-dump.py index 7eaa8090b5..8876f935a4 100755 --- a/test/functional/wallet-dump.py +++ b/test/functional/wallet-dump.py @@ -88,7 +88,7 @@ class WalletDumpTest(BitcoinTestFramework): read_dump(tmpdir + "/node0/wallet.unencrypted.dump", addrs, None) assert_equal(found_addr, test_addr_count) # all keys must be in the dump assert_equal(found_addr_chg, 50) # 50 blocks where mined - assert_equal(found_addr_rsv, 90*1.2) # 90 keys plus 20% internal keys + assert_equal(found_addr_rsv, 90*2) # 90 keys plus 100% internal keys #encrypt wallet, restart, unlock and dump self.nodes[0].encryptwallet('test') @@ -102,8 +102,8 @@ class WalletDumpTest(BitcoinTestFramework): found_addr, found_addr_chg, found_addr_rsv, hd_master_addr_enc = \ read_dump(tmpdir + "/node0/wallet.encrypted.dump", addrs, hd_master_addr_unenc) assert_equal(found_addr, test_addr_count) - assert_equal(found_addr_chg, 90*1.2 + 50) # old reserve keys are marked as change now - assert_equal(found_addr_rsv, 90*1.2) + assert_equal(found_addr_chg, 90*2 + 50) # old reserve keys are marked as change now + assert_equal(found_addr_rsv, 90*2) if __name__ == '__main__': WalletDumpTest().main () |