git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b3fd4a2
)
fix: is_input
author
ThomasV
<thomasv@gitorious>
Mon, 30 Apr 2012 09:48:02 +0000 (11:48 +0200)
committer
ThomasV
<thomasv@gitorious>
Mon, 30 Apr 2012 09:48:02 +0000 (11:48 +0200)
electrum
patch
|
blob
|
history
diff --git
a/electrum
b/electrum
index
011d56f
..
e7f378d
100755
(executable)
--- a/
electrum
+++ b/
electrum
@@
-288,7
+288,7
@@
if __name__ == '__main__':
h = wallet.history.get(addr,[])
ni = no = 0
for item in h:
- if item['is_in']: ni += 1
+ if item['is_input']: ni += 1
else: no += 1
b = "%d %d %s"%(no, ni, str(Decimal(wallet.get_addr_balance(addr)[0])/100000000))
else: b=''