fix parameters in mktx_from_account

This commit is contained in:
thomasv 2013-10-10 10:43:00 +02:00
parent 5133ef7a7a
commit 5125ee43de
1 changed files with 2 additions and 2 deletions

View File

@ -1198,9 +1198,9 @@ class Wallet:
return Transaction.from_io(inputs, outputs)
def mktx_from_account(self, outputs, password, fee=None, change_addr=None, account=None):
def mktx_from_account(self, outputs, password, fee=None, account=None):
domain = self.get_account_addresses(account) if account else None
return self.mktx(outputs, password, fee, change_addr, domain)
return self.mktx(outputs, password, fee, change_addr=None, domain=domain)
def mktx(self, outputs, password, fee=None, change_addr=None, domain= None ):