parentheses
authorthomasv <thomasv@gitorious>
Wed, 2 Jan 2013 10:39:44 +0000 (11:39 +0100)
committerthomasv <thomasv@gitorious>
Wed, 2 Jan 2013 10:39:44 +0000 (11:39 +0100)
lib/wallet.py

index a7b89c2..5b9837c 100644 (file)
@@ -700,7 +700,7 @@ class Wallet:
         balance = c + u - balance
         for tx in history:
             tx_hash = tx['tx_hash']
-            conf, timestamp = self.verifier.get_confirmations(tx_hash) if self.verifier else None, None
+            conf, timestamp = self.verifier.get_confirmations(tx_hash) if self.verifier else (None, None)
             is_mine, value, fee = self.get_tx_value(tx_hash)
             if value is not None:
                 balance += value