commit 1ec45726af930fcc228f11b178d3d39af6329cd1
parent 4e87ae9b0f712ce7ea031e864a4a064789533239
Author: ThomasV <thomasv@gitorious>
Date: Fri, 6 Mar 2015 09:57:26 +0100
update labels plugin for multisig wallets
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/labels.py b/plugins/labels.py
@@ -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')