git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ea07c26
)
fix: confusion
author
ThomasV
<thomasv@gitorious>
Sun, 17 Jun 2012 04:58:36 +0000 (06:58 +0200)
committer
ThomasV
<thomasv@gitorious>
Sun, 17 Jun 2012 04:58:36 +0000 (06:58 +0200)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
c1769b0
..
2725d52
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-888,7
+888,7
@@
class Wallet:
if not inputs:
raise BaseException("Not enough funds")
- if self.use_change:
+ if not self.use_change:
change_addr = inputs[0][0]
print "sending change to", change_addr
else: