remove dead code: get_imported_balance
authorThomasV <thomasv@gitorious>
Sun, 4 May 2014 10:54:35 +0000 (12:54 +0200)
committerThomasV <thomasv@gitorious>
Sun, 4 May 2014 10:54:35 +0000 (12:54 +0200)
lib/wallet.py

index 9983dc5..cd7b3ec 100644 (file)
@@ -407,6 +407,8 @@ class Abstract_Wallet:
             for sec in private_keys:
                 pubkey = public_key_from_private_key(sec)
                 keypairs[ pubkey ] = sec
+
+                # this is needed because we don't store imported pubkeys
                 if address in self.imported_keys.keys():
                     txin['redeemPubkey'] = pubkey
 
@@ -640,8 +642,6 @@ class Abstract_Wallet:
             if include_change: o += ac.get_addresses(1)
         return o
 
-    def get_imported_balance(self):
-        return self.get_balance(self.imported_keys.keys())
 
     def get_account_balance(self, account):
         return self.get_balance(self.get_account_addresses(account))