URI: 
       tMerge pull request #2986 from SomberNight/fix_labelsync_importedwallet - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit b2eb83fc66b61480032c2a7259622c668565160a
   DIR parent 3d54011c5d53c405ad22ace08e038bf3ec327e91
  HTML Author: ThomasV <thomasv@electrum.org>
       Date:   Thu,  5 Oct 2017 09:38:04 +0200
       
       Merge pull request #2986 from SomberNight/fix_labelsync_importedwallet
       
       fix trace for LabelSync with Imported_Wallet
       Diffstat:
         M plugins/labels/labels.py            |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/plugins/labels/labels.py b/plugins/labels/labels.py
       t@@ -135,9 +135,10 @@ class LabelsPlugin(BasePlugin):
            def start_wallet(self, wallet):
                nonce = self.get_nonce(wallet)
                self.print_error("wallet", wallet.basename(), "nonce is", nonce)
       -        mpk = wallet.get_fingerprint().encode('ascii')
       +        mpk = wallet.get_fingerprint()
                if not mpk:
                    return
       +        mpk = mpk.encode('ascii')
                password = hashlib.sha1(mpk).hexdigest()[:32].encode('ascii')
                iv = hashlib.sha256(password).digest()[:16]
                wallet_id = hashlib.sha256(mpk).hexdigest()