tfix varname - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 4042ac69ec7413878a93b242c111bfdd98725d31 DIR parent 9c76a0232edbce98f9d8df653cf9d9e6582fdc19 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 31 May 2015 18:03:58 +0200 fix varname Diffstat: M lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/lib/commands.py b/lib/commands.py t@@ -452,7 +452,7 @@ class Commands: if fee is None: for i in inputs: self.wallet.add_input_info(i) - output = ('address', to_address, amount) + output = ('address', address, amount) dummy_tx = Transaction.from_io(inputs, [output]) fee = self.wallet.estimated_fee(dummy_tx) amount -= fee