Possible bug fixes#491
Closed
dastansam wants to merge 1 commit into
Closed
Conversation
This was referenced May 23, 2025
Merged
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced May 28, 2025
18abd49 to
5d7f6af
Compare
a578925 to
2505da0
Compare
94552f7 to
aaf3dc3
Compare
aaf3dc3 to
5f3e57c
Compare
dastansam
commented
Jun 10, 2025
| pub fn update(&mut self, removed_amount: Balance) -> Price { | ||
| self.amount_left.saturating_reduce(removed_amount); | ||
| if self.amount_left.is_zero() { | ||
| if self.amount_left.is_zero() || self.amount_left == 1 { |
5f3e57c to
6aefbd1
Compare
5d7f6af to
e22194d
Compare
6ee8df3 to
5d7f6af
Compare
6aefbd1 to
9c6b183
Compare
5d7f6af to
0b9f973
Compare
34df862 to
9d12df6
Compare
Graphite Automations"Auto-assign PRs to author" took an action on this PR • (07/10/25)1 assignee was added to this PR based on Juan Ignacio Rios's automation. |
0b9f973 to
ef21f98
Compare
9d12df6 to
c5b4ada
Compare
c5b4ada to
9d12df6
Compare
ef21f98 to
0b9f973
Compare
0b9f973 to
bc4bb16
Compare
9d12df6 to
e71d7d3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What?
Why?
How?
Testing?
Screenshots (optional)
Anything Else?