Nonce gap not detected, wallet sets wrong nonce #5934
Labels
area:nonce
area:stacks
area:transactions
bug
Functionality broken
bug-p4
Non-critical functionality broken for few users, or there are clear workarounds
This issue used to be solved, not sure if there is a change to the API or the wallet.
It is my understanding that the "next nonce" api should know if there is a missing nonce between the last processed transaction nonce and the lowest nonce still pending.
reproduction steps:
The API or Wallet wrongfully deduces that the next nonce is 21, while there is a gap of nonce 0 through 19 before 21 can get processed.
Tested on the public testnet.
The text was updated successfully, but these errors were encountered: