fix: using cryptoAtoms instead of fee
This commit is contained in:
parent
fc7ef28ece
commit
b7341352d4
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ const getCryptoAmount = tx =>
|
||||||
|
|
||||||
const getCryptoFeeAmount = tx => {
|
const getCryptoFeeAmount = tx => {
|
||||||
const feeAmount = coinUtils
|
const feeAmount = coinUtils
|
||||||
.toUnit(new BigNumber(tx.cryptoAtoms), tx.cryptoCode)
|
.toUnit(new BigNumber(tx.fee), tx.cryptoCode)
|
||||||
.toNumber()
|
.toNumber()
|
||||||
|
|
||||||
return new BigNumber(feeAmount)
|
return new BigNumber(feeAmount)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue