fix: confusion
This commit is contained in:
@@ -888,7 +888,7 @@ class Wallet:
|
|||||||
if not inputs:
|
if not inputs:
|
||||||
raise BaseException("Not enough funds")
|
raise BaseException("Not enough funds")
|
||||||
|
|
||||||
if self.use_change:
|
if not self.use_change:
|
||||||
change_addr = inputs[0][0]
|
change_addr = inputs[0][0]
|
||||||
print "sending change to", change_addr
|
print "sending change to", change_addr
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user