Browse Source

fix varname

283
ThomasV 10 years ago
parent
commit
4042ac69ec
  1. 2
      lib/commands.py

2
lib/commands.py

@ -452,7 +452,7 @@ class Commands:
if fee is None: if fee is None:
for i in inputs: for i in inputs:
self.wallet.add_input_info(i) self.wallet.add_input_info(i)
output = ('address', to_address, amount) output = ('address', address, amount)
dummy_tx = Transaction.from_io(inputs, [output]) dummy_tx = Transaction.from_io(inputs, [output])
fee = self.wallet.estimated_fee(dummy_tx) fee = self.wallet.estimated_fee(dummy_tx)
amount -= fee amount -= fee

Loading…
Cancel
Save