diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-07-22 11:03:30 +0200 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2016-07-27 16:02:41 +0200 |
commit | de45c065f0648c4c41b57cb492420ceeed29dd11 (patch) | |
tree | ce1f43fe8bba2d118ea3b3ac00b69bb5dadcf58b /qa | |
parent | f142c11ac634df487cc4bc65a5f1c9a3e3563dd9 (diff) | |
download | bitcoin-de45c065f0648c4c41b57cb492420ceeed29dd11.tar.xz |
[Wallet] Add CKeyMetadata record for HDMasterKey(s), factor out HD key generation
Diffstat (limited to 'qa')
-rwxr-xr-x | qa/rpc-tests/keypool.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/rpc-tests/keypool.py b/qa/rpc-tests/keypool.py index 735b91ee9f..fa39476568 100755 --- a/qa/rpc-tests/keypool.py +++ b/qa/rpc-tests/keypool.py @@ -15,7 +15,7 @@ class KeyPoolTest(BitcoinTestFramework): addr_before_encrypting = nodes[0].getnewaddress() addr_before_encrypting_data = nodes[0].validateaddress(addr_before_encrypting) wallet_info_old = nodes[0].getwalletinfo() - assert(addr_before_encrypting_data['hdmasterkeyid'] == wallet_info_old['masterkeyid']) + assert(addr_before_encrypting_data['hdmasterkeyid'] == wallet_info_old['hdmasterkeyid']) # Encrypt wallet and wait to terminate nodes[0].encryptwallet('test') @@ -26,8 +26,8 @@ class KeyPoolTest(BitcoinTestFramework): addr = nodes[0].getnewaddress() addr_data = nodes[0].validateaddress(addr) wallet_info = nodes[0].getwalletinfo() - assert(addr_before_encrypting_data['hdmasterkeyid'] != wallet_info['masterkeyid']) - assert(addr_data['hdmasterkeyid'] == wallet_info['masterkeyid']) + assert(addr_before_encrypting_data['hdmasterkeyid'] != wallet_info['hdmasterkeyid']) + assert(addr_data['hdmasterkeyid'] == wallet_info['hdmasterkeyid']) try: addr = nodes[0].getnewaddress() |