git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
47a3739
)
fix
author
thomasv
<thomasv@gitorious>
Fri, 23 Nov 2012 16:11:32 +0000 (17:11 +0100)
committer
thomasv
<thomasv@gitorious>
Fri, 23 Nov 2012 16:11:32 +0000 (17:11 +0100)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
308c492
..
4fe3a86
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-1079,7
+1079,7
@@
class Wallet:
return False
# check that we are not "orphaning" a transaction
- old_hist = self.history.get(addr)
+ old_hist = self.history.get(addr,[])
if old_hist == ['*']: return True
for tx_hash, height in old_hist: