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: Use onchain exchange rate #1089

Merged
merged 1 commit into from
Sep 16, 2024
Merged

fix: Use onchain exchange rate #1089

merged 1 commit into from
Sep 16, 2024

Conversation

garethfuller
Copy link
Contributor

We were using the cached exchange rate effectiveRate from the API to present the exchange rate of a swap to the user. This PR overwrites the API effectiveRate attributes using the onchain return amount.

Copy link

vercel bot commented Sep 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
frontend-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 16, 2024 10:24am
test-v3 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 16, 2024 10:24am

@garethfuller garethfuller merged commit 9925d4e into main Sep 16, 2024
7 checks passed
@garethfuller garethfuller deleted the fix/use-onchain-rate branch September 16, 2024 12:23
agualis pushed a commit that referenced this pull request Sep 16, 2024
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