fix parameters in mktx_from_account
authorthomasv <thomasv@gitorious>
Thu, 10 Oct 2013 08:43:00 +0000 (10:43 +0200)
committerthomasv <thomasv@gitorious>
Thu, 10 Oct 2013 08:43:00 +0000 (10:43 +0200)
lib/wallet.py

index 29aee63..5af5765 100644 (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 ):