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
Describe the bug
After receiving a winning ticket and popping it from the ticketQueue there was a race condition that tried to redeem the winning ticket twice within the same block.
This caused the redeemedAt and txHash fields to not be set within the database and this winning ticket to be retried over and over.
While this issue would be fixed by #1598 which prevents redeeming used tickets and marks them as redeemed, that PR does not fix the race condition that occured here.
Describe the bug
After receiving a winning ticket and popping it from the
ticketQueue
there was a race condition that tried to redeem the winning ticket twice within the same block.This caused the
redeemedAt
andtxHash
fields to not be set within the database and this winning ticket to be retried over and over.While this issue would be fixed by #1598 which prevents redeeming used tickets and marks them as redeemed, that PR does not fix the race condition that occured here.
Expected behavior
To only send a single transaction for a winning ticket
The text was updated successfully, but these errors were encountered: