diff --git a/lib/wallet.py b/lib/wallet.py index c1769b02d..2725d5229 100644 --- 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: