1
0

new wallet structure:

- store addresses instead of pubkeys
 - derive pubkeys only for serialization
 - fix #2024
This commit is contained in:
ThomasV
2017-02-22 08:47:17 +01:00
parent b1f27d7e84
commit ff39068867
4 changed files with 103 additions and 109 deletions

View File

@@ -586,6 +586,9 @@ def xpubkey_to_address(x_pubkey):
address = public_key_to_p2pkh(pubkey.decode('hex'))
return pubkey, address
def xpubkey_to_pubkey(x_pubkey):
pubkey, address = xpubkey_to_address(x_pubkey)
return pubkey
hw_keystores = {}