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

[PFT-1423] Fix canBeSettled comparison operators #72

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

sudeepb02
Copy link
Contributor

The canBeSettled function on sdk was using the vanilla comparison operators > and < to compare Decimals value, which were not compatible.

Replaced the operators with function lessThan and greaterThan on Decimal objects

Copy link

@sudeepb02 sudeepb02 merged commit 6ea2cb0 into develop Aug 1, 2024
1 check passed
@sudeepb02 sudeepb02 deleted the fix-comparison-op branch August 1, 2024 13:09
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