Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallet.create_new_address() not working #2090

Closed
whizz opened this issue Jan 3, 2017 · 1 comment
Closed

wallet.create_new_address() not working #2090

whizz opened this issue Jan 3, 2017 · 1 comment

Comments

@whizz
Copy link

whizz commented Jan 3, 2017

Hello there. Using 2.7.13, trying to create a bunch of adresses as per http://electrum.readthedocs.io/en/latest/faq.html#how-can-i-pre-generate-new-addresses

If you need to pre-generate more addresses, you can do so by typing wallet.create_new_address() in the console. This command will generate one new address. Note that the address will be shown with a red background in the address tab, to indicate that it is beyond the gap limit. The red color will remain until the gap is filled.

When I enter the call into console, I get this:

>> wallet.create_new_address()
Traceback (most recent call last):
TypeError: create_new_address() takes exactly 2 arguments (1 given)

Either the function or the docs are wrong. Any help is appreciated, thanks.

Michal

@ecdsa
Copy link
Member

ecdsa commented Jan 3, 2017

wallet.create_new_address(False)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants