Skip to content

Conversation

vincent-pochet
Copy link
Collaborator

Context

Adjusting the amount on a fee with 0 units leads to NaN value set on fees.precise_unit_amount

Description

This PR makes sure that fees.precise_unit_amount fallback to 0 when the number of units is 0

@vincent-pochet vincent-pochet merged commit 19ca247 into main May 19, 2025
14 checks passed
@vincent-pochet vincent-pochet deleted the fix-nan-precise-unit-amount branch May 19, 2025 13:17
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