Bitcoin Forum

Bitcoin => Electrum => Topic started by: ouadirks on January 16, 2017, 07:06:53 PM



Title: Electrum 2.7.12
Post by: ouadirks on January 16, 2017, 07:06:53 PM
Hi,

Is there anyway we can generate more bitcoin addresses from electrum 2.7.12 ? Since the update i can use this command anymore: wallet.create_new_address()   ,

I keep getting this error: Traceback (most recent call last):
TypeError: create_new_address() takes exactly 2 arguments (1 given)

Any help is appreciated !


Title: Re: Electrum 2.7.12
Post by: steven0021 on January 16, 2017, 08:21:34 PM
Hi,

Is there anyway we can generate more bitcoin addresses from electrum 2.7.12 ? Since the update i can use this command anymore: wallet.create_new_address()   ,

I keep getting this error: Traceback (most recent call last):
TypeError: create_new_address() takes exactly 2 arguments (1 given)

Any help is appreciated !

It's wallet.create_new_address(0) for normal address and wallet.create_new_address(1) for change address.


Title: Re: Electrum 2.7.12
Post by: ouadirks on January 16, 2017, 08:34:52 PM
Ohh, it worked !! thx a lot steven0021 , you are a life saver !!!