tfix mktx - electrum - Electrum Bitcoin wallet
 (HTM) git clone https://git.parazyd.org/electrum
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
       ---
 (DIR) commit a1f8454b14513e5e9c55700ddd75f623979ef218
 (DIR) parent b958985aa84d2bff1d8a2dd090a569959408f7a0
 (HTM) Author: ecdsa <ecdsa@github>
       Date:   Sun,  7 Apr 2013 20:25:01 +0200
       
       fix mktx
       
       Diffstat:
         M lib/wallet.py                       |       6 ++----
       
       1 file changed, 2 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/lib/wallet.py b/lib/wallet.py
       t@@ -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")