commit 5125ee43de4df4b6372dc70ff0419c231c1d93c7
parent 5133ef7a7a2f11dab29ed5c6377b0024bc155377
Author: thomasv <thomasv@gitorious>
Date: Thu, 10 Oct 2013 10:43:00 +0200
fix parameters in mktx_from_account
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -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 ):