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

core: lock trade mutex for preimage resp. #2973

Closed
wants to merge 1 commit into from

Conversation

JoeGruffins
Copy link
Member

closes #2964

I think the only way the cancel can become nil is if we received a notification that we already missed the preimage request and so the cancel is revoked, so it would probably be fine to just error, but I'm unsure this is the only reason cancel would be nil here, so locking the trade mutex until we check the csum seems the safest and most straight forward way to deal with this.

@buck54321
Copy link
Member

Obsoleted by #2977

@buck54321 buck54321 closed this Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

core: panic checking cancel order checksum
2 participants