Skip to content

Commit

Permalink
fix: using cryptoAtoms instead of fee
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelTaranto committed Jan 31, 2024
1 parent f2fb63f commit 17965da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new-lamassu-admin/src/pages/Transactions/DetailsCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const getCryptoAmount = tx =>

const getCryptoFeeAmount = tx => {
const feeAmount = coinUtils
.toUnit(new BigNumber(tx.cryptoAtoms), tx.cryptoCode)
.toUnit(new BigNumber(tx.fee), tx.cryptoCode)
.toNumber()

return new BigNumber(feeAmount)
Expand Down

0 comments on commit 17965da

Please sign in to comment.