Major refactoring
- separation between Wallet and key management (Keystore) - simplification of wallet classes - remove support for multiple accounts in the same wallet - add support for OP_RETURN to Trezor plugin - split multi-accounts wallets for backward compatibility
This commit is contained in:
@@ -126,7 +126,8 @@ class Plugin(BasePlugin):
|
||||
self.listener = None
|
||||
self.keys = []
|
||||
self.cosigner_list = []
|
||||
for key, xpub in wallet.master_public_keys.items():
|
||||
for key, keystore in wallet.keystores.items():
|
||||
xpub = keystore.get_master_public_key()
|
||||
K = bitcoin.deserialize_xkey(xpub)[-1].encode('hex')
|
||||
_hash = bitcoin.Hash(K).encode('hex')
|
||||
if wallet.master_private_keys.get(key):
|
||||
|
||||
Reference in New Issue
Block a user