Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants