Skip to content

Commit

Permalink
fix: remove toFixed(2) (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
aimensahnoun authored Sep 3, 2024
1 parent 209ef34 commit 8bab572
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const prepareRequestParams = ({
network: currency.network,
},
expectedAmount: parseUnits(
invoiceTotals.totalAmount.toFixed(2),
invoiceTotals.totalAmount.toString(),
currency.decimals
).toString(),
payee: {
Expand Down

0 comments on commit 8bab572

Please sign in to comment.