mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
update labels plugin for multisig wallets
This commit is contained in:
parent
4e87ae9b0f
commit
1ec45726af
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class Plugin(BasePlugin):
|
|||
@hook
|
||||
def load_wallet(self, wallet):
|
||||
self.wallet = wallet
|
||||
mpk = self.wallet.get_master_public_key()
|
||||
mpk = ''.join(sorted(self.wallet.master_public_keys.values()))
|
||||
self.encode_password = hashlib.sha1(mpk).digest().encode('hex')[:32]
|
||||
self.iv = hashlib.sha256(self.encode_password).digest()[:16]
|
||||
self.wallet_id = hashlib.sha256(mpk).digest().encode('hex')
|
||||
|
|
Loading…
Add table
Reference in a new issue