fix: Mock mainnet begin block deployment fix btc duplicate payment #1259
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Duplicate payment happened to bitcoin outbound nonce 0.
payment1: https://blockstream.info/tx/71395db26ae81147dd79176e394c598b9480036c5ef6e44608b3356283168872
payment2: https://blockstream.info/tx/26aa6b32b7f16cc6671ac1419e91bac5fb78b5d24536df0da0120a3f75bf9116
This PR is to special handle nonce 0 to avoid duplicate payments.
Closes:
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.
Checklist: