Browse Source

fix mktx

283
ecdsa 12 years ago
parent
commit
a1f8454b14
  1. 6
      lib/wallet.py

6
lib/wallet.py

@ -741,10 +741,8 @@ class Wallet:
assert is_valid(address)
amount = sum( map(lambda x:x[1], outputs) )
domain = self.get_account_addresses(account)
inputs, total, fee = self.choose_tx_inputs( amount, fee, domain )
inputs, total, fee = self.choose_tx_inputs( amount, fee, account )
if not inputs:
raise ValueError("Not enough funds")

Loading…
Cancel
Save