fix
authorthomasv <thomasv@gitorious>
Sun, 15 Sep 2013 13:28:29 +0000 (15:28 +0200)
committerthomasv <thomasv@gitorious>
Sun, 15 Sep 2013 13:28:29 +0000 (15:28 +0200)
lib/wallet.py

index 030c932..fb5a37a 100644 (file)
@@ -1159,8 +1159,7 @@ class Wallet:
 
 
     def mktx_from_account(self, outputs, password, fee=None, change_addr=None, account=None):
-        if account:
-            domain = self.get_account_addresses(account)
+        domain = self.get_account_addresses(account) if account else None
         self.mktx(outputs, password, fee, change_addr, domain)