From e2c19ff87109be409e4c3fcfec9c3c3064bf9ad7 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 5 Jul 2015 16:19:44 +0200 Subject: [PATCH] fix #1344 --- lib/wallet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index 276e106eb..a7883f781 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -1463,8 +1463,10 @@ class Deterministic_Wallet(Abstract_Wallet): def get_master_public_keys(self): out = {} for k, account in self.accounts.items(): + if type(account) == ImportedAccount: + continue name = self.get_account_name(k) - mpk_text = '\n\n'.join( account.get_master_pubkeys() ) + mpk_text = '\n\n'.join(account.get_master_pubkeys()) out[name] = mpk_text return out