tfix for empty wallets - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 9f650e80a36925e96ce5f4740298c033c3e1ec85 (DIR) parent 66f16b75410fbd471d77b0dd9f75a68e044b3b2b (HTM) Author: ThomasV <thomasv@gitorious> Date: Thu, 8 Dec 2011 09:03:03 +0100 fix for empty wallets Diffstat: M client/electrum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/client/electrum.py b/client/electrum.py t@@ -493,7 +493,7 @@ class Wallet: def choose_tx_inputs( self, amount, fixed_fee ): """ todo: minimize tx size """ - total = 0 + total = fee = 0 inputs = [] for addr in self.addresses: h = self.history.get(addr)