From 5125ee43de4df4b6372dc70ff0419c231c1d93c7 Mon Sep 17 00:00:00 2001 From: thomasv Date: Thu, 10 Oct 2013 10:43:00 +0200 Subject: [PATCH] fix parameters in mktx_from_account --- lib/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index 29aee632..5af5765a 100644 --- 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 ):