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

refactor: for added safety always try to get exchange rate #132

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

coreyar
Copy link
Collaborator

@coreyar coreyar commented Jan 2, 2024

The exchange rate calls can fail due to a math error. Generally this won't happen on market creation but for added safety we can make all calls for getting the exchange rate in a try_

@coreyar coreyar merged commit 6ceb0cd into main Jan 10, 2024
4 checks passed
@coreyar coreyar deleted the refactor/try-exchange-rate branch July 12, 2024 13:07
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