fix for empty wallets

This commit is contained in:
ThomasV 2011-12-08 09:03:03 +01:00
parent 66f16b7541
commit 9f650e80a3
1 changed files with 1 additions and 1 deletions

View File

@ -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)