fix: don't refetch final quotes after swap Tx has been initiated #8528
+10
−3
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
Does what it says on the box: we weren't guarding things well enough, and final quotes could potentially refetched (they shouldn't, but they may in rare conditions with THORChain streaming swaps, see #8526 for more context) after clicking sign and swap.
Issue (if applicable)
closes #8521
Risk
Medium - touches final quotes logic
Testing
Engineering
Operations
Screenshots (if applicable)
https://jam.dev/c/4d34b1f1-bfe1-4758-9744-cf2fcb700d9b
https://jam.dev/c/5e922526-f3cb-4f65-a80b-e9ea99c3c3c7
https://jam.dev/c/142e8753-7a0f-4946-b480-7be66722f123
https://jam.dev/c/4b832473-853c-475d-919c-926a247b70b4