new wallet structure:
- store addresses instead of pubkeys - derive pubkeys only for serialization - fix #2024
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user