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] rate calculation when creating using crypto amount instead of usd #941

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

gabrielbazan7
Copy link
Collaborator

@gabrielbazan7 gabrielbazan7 commented Sep 27, 2023

Choosing any other currency than usd here https://bitpay.com/demos/ results in incorrect rate calculations

Gamboster
Gamboster previously approved these changes Sep 27, 2023
Copy link
Collaborator

@Gamboster Gamboster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

cmgustavo
cmgustavo previously approved these changes Sep 28, 2023
Copy link
Member

@cmgustavo cmgustavo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK! 👍🏼

src/store/wallet/effects/send/send.ts Outdated Show resolved Hide resolved
src/store/wallet/effects/send/send.ts Outdated Show resolved Hide resolved
@msalcala11
Copy link
Collaborator

ACK! Tested the latest commit on a variety of scenarios, and this PR handles all of them well.

@JohnathanWhite JohnathanWhite merged commit 93a13d3 into bitpay:master Oct 2, 2023
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.

5 participants