|
@ -742,9 +742,7 @@ class Wallet: |
|
|
|
|
|
|
|
|
amount = sum( map(lambda x:x[1], outputs) ) |
|
|
amount = sum( map(lambda x:x[1], outputs) ) |
|
|
|
|
|
|
|
|
domain = self.get_account_addresses(account) |
|
|
inputs, total, fee = self.choose_tx_inputs( amount, fee, account ) |
|
|
|
|
|
|
|
|
inputs, total, fee = self.choose_tx_inputs( amount, fee, domain ) |
|
|
|
|
|
if not inputs: |
|
|
if not inputs: |
|
|
raise ValueError("Not enough funds") |
|
|
raise ValueError("Not enough funds") |
|
|
|
|
|
|
|
|