From a5c5b052352ff55dd30fd0f9edcdeb98c6bc12d3 Mon Sep 17 00:00:00 2001 From: thomasv Date: Sun, 15 Sep 2013 15:28:29 +0200 Subject: [PATCH] fix --- lib/wallet.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index 030c932a6..fb5a37aa4 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -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)