Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: do not re-add accountOp on estimation #732

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

borislav-itskov
Copy link
Member

Fix: a race condition between estimation and removeUserRequest sometimes results in deleting an accountOp only to be added again in accountOpsToBeSigned which should not happen. This makes sure estimation either continues on a valid accountOp or it throws an error to be caught. Writing again in accountOpsToBeSigned after the accountOp has been deleted should not happen from the estimation

…results in deleting an accountOp only to be added again in accountOpsToBeSigned which should not happen
@borislav-itskov borislav-itskov added the bug Something isn't working label Apr 24, 2024
@borislav-itskov borislav-itskov self-assigned this Apr 24, 2024
@Ivshti Ivshti merged commit b105cba into v2 Apr 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants