Skip to content

Conversation

@Forte11Cuba
Copy link

fix #117

  • Changed onChainUsdTxFee to use FractionalCentAmount instead of CentAmount
  • Removed Math.round() that was losing decimal precision from Ibex API
  • Updated both main and quickstart GraphQL schemas
  • Aligns with existing pattern used in LnNoAmountUsdInvoiceFeeProbe

  - Changed onChainUsdTxFee to use FractionalCentAmount instead of CentAmount
  - Removed Math.round() that was losing decimal precision from Ibex API
  - Updated both main and quickstart GraphQL schemas
  - Aligns with existing pattern used in LnNoAmountUsdInvoiceFeeProbe
Copy link
Contributor

@brh28 brh28 left a comment

Choose a reason for hiding this comment

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

LGTM. Have you been able to test this locally?

@islandbitcoin islandbitcoin changed the title Fix onchain fee calculation to support fractional cents fix/onchain-fee-calculation-to-support-fractional-cents Jan 27, 2026
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.

Onchain fee calculation is failing

2 participants