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 bug with claiming offer #151

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Conversation

tzumainn
Copy link
Contributor

If an offer is claimed for its entire duration, and someone else tries to claim the offer without specifying a start/end time, then the db function will think that the next available end time is before the current time. This fixes that issue, as well as renaming the db function to be clearer regarding its function.

@tzumainn
Copy link
Contributor Author

@DanNiESh could you take a look at this when you have a moment? Thanks!

If an offer is claimed for its entire duration, and someone else
tries to claim the offer without specifying a start/end time, then
the db function will think that the next available end time is
before the current time. This fixes that issue, as well as renaming
the db function to be clearer regarding its function.
Copy link
Contributor

@DanNiESh DanNiESh left a comment

Choose a reason for hiding this comment

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

LGTM

@tzumainn tzumainn merged commit 6aa851b into CCI-MOC:master Feb 13, 2024
5 checks 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.

2 participants