git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
864aebf
)
parentheses
author
thomasv
<thomasv@gitorious>
Wed, 2 Jan 2013 10:39:44 +0000 (11:39 +0100)
committer
thomasv
<thomasv@gitorious>
Wed, 2 Jan 2013 10:39:44 +0000 (11:39 +0100)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
a7b89c2
..
5b9837c
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-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