Skip to content

Commit

Permalink
fix: include amountFromInSmallestDenomination
Browse files Browse the repository at this point in the history
  • Loading branch information
kallen-ledger committed Sep 28, 2023
1 parent 8fadeb1 commit f5968f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/ledger-live-common/src/exchange/swap/initSwap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const initSwap = (input: InitSwapInput): Observable<SwapRequestEvent> => {
const data = {
provider,
amountFrom: apiAmount.toString(),
amountFromInSmallestDenomination: amount.toNumber(),
from: refundCurrency.id,
to: payoutCurrency.id,
address: payoutAccount.freshAddress,
Expand Down

0 comments on commit f5968f0

Please sign in to comment.