commit 9f650e80a36925e96ce5f4740298c033c3e1ec85
parent 66f16b75410fbd471d77b0dd9f75a68e044b3b2b
Author: ThomasV <thomasv@gitorious>
Date: Thu, 8 Dec 2011 09:03:03 +0100
fix for empty wallets
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/electrum.py b/client/electrum.py
@@ -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)