commit a5c5b052352ff55dd30fd0f9edcdeb98c6bc12d3
parent c8f93879b6a34cbafc6de35d4d96c92ca3f660bc
Author: thomasv <thomasv@gitorious>
Date: Sun, 15 Sep 2013 15:28:29 +0200
fix
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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)