fix: using cryptoAtoms instead of fee

This commit is contained in:
Rafael Taranto 2024-01-31 18:29:04 +00:00
parent fc7ef28ece
commit b7341352d4

View file

@ -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)