git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f9985ae
)
optional parameters for create_new_address
author
ThomasV
<thomasv@gitorious>
Fri, 27 Jun 2014 09:38:35 +0000 (11:38 +0200)
committer
ThomasV
<thomasv@gitorious>
Fri, 27 Jun 2014 09:38:35 +0000 (11:38 +0200)
lib/wallet.py
patch
|
blob
|
history
diff --git
a/lib/wallet.py
b/lib/wallet.py
index
fb1e31b
..
d5501e3
100644
(file)
--- a/
lib/wallet.py
+++ b/
lib/wallet.py
@@
-1139,7
+1139,7
@@
class Deterministic_Wallet(Abstract_Wallet):
if n > nmax: nmax = n
return nmax + 1
- def create_new_address(self, account, for_change):
+ def create_new_address(self, account=None, for_change=0):
if account is None:
account = self.default_account()
address = account.create_new_address(for_change)