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

Use max of 6 decimals for xrp dex #303

Merged
merged 1 commit into from
Nov 9, 2023
Merged

Conversation

paullinator
Copy link
Member

@paullinator paullinator commented Nov 8, 2023

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

@@ -43,6 +43,7 @@ const RIPPLE_SERVERS_DEFAULT = ['wss://s2.ripple.com']
const EXCHANGE_INFO_UPDATE_FREQ_MS = 60000
const VOLATILITY_SPREAD_DEFAULT = 0.0075
const DUMMY_XRP_ADDRESS = 'rfuESo7eHUnvebxgaFjfYxfwXhM2uBPAj3'
const MAX_DECIMALS_MULTIPLIER = 1000000
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there some reason to separate this from ripple's currencyInfo.denominations[0].multiplier?

Copy link
Member Author

Choose a reason for hiding this comment

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

will add comment

@paullinator paullinator merged commit 5bb2a06 into master Nov 9, 2023
1 check passed
@paullinator paullinator deleted the paul/xrpMaxDecimals branch November 9, 2023 02:28
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