From 1ec45726af930fcc228f11b178d3d39af6329cd1 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 6 Mar 2015 09:57:26 +0100 Subject: [PATCH] update labels plugin for multisig wallets --- plugins/labels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/labels.py b/plugins/labels.py index 367ff7adc..a0bf312d4 100644 --- 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')