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

Avoid a buyer taking the same order twice in status waiting-buyer-invoice #350

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

Catrya
Copy link
Collaborator

@Catrya Catrya commented Sep 2, 2024

fix #311

avoid a buyer taking the same order twice in status waiting buyer invoice.
match order_status {
Status::Pending | Status::WaitingBuyerInvoice => {}
Status::Pending => {}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If @Catrya did a round of test and it work, for me it's a direct merge.

Copy link
Member

@grunch grunch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@grunch grunch merged commit 5f8450c into MostroP2P:main Sep 17, 2024
1 check passed
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.

A user can take a sell order multiple times in status waiting-buyer-invoice
3 participants