electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 7a7e65d66c6a6c88792c0f81504a999e7e67ca83
parent f9985ae233d035d6b41aa18e882688af4b670ae0
Author: ThomasV <thomasv@gitorious>
Date:   Fri, 27 Jun 2014 11:38:35 +0200

optional parameters for create_new_address

Diffstat:
Mlib/wallet.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)