fix mktx
authorecdsa <ecdsa@github>
Sun, 7 Apr 2013 18:25:01 +0000 (20:25 +0200)
committerecdsa <ecdsa@github>
Sun, 7 Apr 2013 18:25:01 +0000 (20:25 +0200)
lib/wallet.py

index 07c0f4c..eab1a6b 100644 (file)
@@ -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")