StratisBitcoinFullNode icon indicating copy to clipboard operation
StratisBitcoinFullNode copied to clipboard

getnewaddress returns the same address for subsequent calls

Open FreekPaans opened this issue 6 years ago • 1 comments
trafficstars

Hi,

Contrary to the "common" bitcoin RPC API, getnewaddress returns the same address in 2 subsequent calls if the address has not been used yet at the time of the second call.

Our code doesn't expect this, and I can imagine the same holds for other people.

Cheers,

-Freek

FreekPaans avatar Nov 07 '19 13:11 FreekPaans

This has been resolved here - https://github.com/block-core/blockcore/commit/6ef036a35a189409fa74f6ce4fcf2a57add2cd7

thecrypt0hunter avatar Nov 20 '19 22:11 thecrypt0hunter