Browse Source

fix for empty wallets

283
ThomasV 13 years ago
parent
commit
9f650e80a3
  1. 2
      client/electrum.py

2
client/electrum.py

@ -493,7 +493,7 @@ class Wallet:
def choose_tx_inputs( self, amount, fixed_fee ): def choose_tx_inputs( self, amount, fixed_fee ):
""" todo: minimize tx size """ """ todo: minimize tx size """
total = 0 total = fee = 0
inputs = [] inputs = []
for addr in self.addresses: for addr in self.addresses:
h = self.history.get(addr) h = self.history.get(addr)

Loading…
Cancel
Save