You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With WITNESS_PUBKEY_HASH you should be guaranteed to receive a new address every time. Are you sure you didn't use UNUSED_WITNESS_PUBKEY_HASH? Which would return the same address until some on-chain funds are detected on it (marking it as "used").
If you can reproduce, then please share the logs of both calls.
We are sure we used WITNESS_PUBKEY_HASH . We have one usage of UNUSED_WITNESS_PUBKEY_HASH but it is in a totally different context.
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.
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: