git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c8f9387
)
fix
author
thomasv
<thomasv@gitorious>
Sun, 15 Sep 2013 13:28:29 +0000 (15:28 +0200)
committer
thomasv
<thomasv@gitorious>
Sun, 15 Sep 2013 13:28:29 +0000 (15:28 +0200)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
030c932
..
fb5a37a
100644
(file)
--- 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)