-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
NewAddress returns duplicate addresses #8697
Comments
In address type, which type did you select? The options:
|
We only use |
With |
We are sure we used I was not able to reproduce, we only noticed it occuring this time because the address was actually used in a transaction but going through our db I could find some duplicate address going all the way back to 2021. |
Hi we too got same address twice, despite passing WITNESS_PUBKEY_HASH. |
Thanks for the additional detail. Sounds like a race condition and/or missing database level lock... Should help us find the bug more quickly. |
Background
We have noticed that gRPC call to
NewAddress
did return the same address twice.From what I can see in our logs the node was in the process of starting.
Is getting a new address guaranteed to return a new address or was it an invalid assumption on our part?
Your environment
lnd
: lnd.017.2.betaSteps to reproduce
Not able to reproduce
The text was updated successfully, but these errors were encountered: