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

Round satoshis when creating promo code #329

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

Duddino
Copy link
Member

@Duddino Duddino commented Mar 25, 2024

Abstract

Round satoshis when creating promo code. Because of floating point errors, MPW would try to send a decimal amount of satoshis and the promo code creation would fail.

Testing

  • Create a promo code with 1.1 PIV

Copy link

netlify bot commented Mar 25, 2024

Deploy Preview for cheery-moxie-4f1121 ready!

Name Link
🔨 Latest commit 4787e22
🔍 Latest deploy log https://app.netlify.com/sites/cheery-moxie-4f1121/deploys/66011be1b706300008d44833
😎 Deploy Preview https://deploy-preview-329--cheery-moxie-4f1121.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@panleone panleone left a comment

Choose a reason for hiding this comment

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

tACK 4787e22
javascript is shit lol

@panleone panleone merged commit 741f654 into PIVX-Labs:master Mar 25, 2024
7 checks passed
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