Fix ETH sending following miner fee logging

This commit is contained in:
naconner 2019-11-15 10:11:28 -05:00 committed by Josh Harvey
parent ae39a87244
commit 07f4bdfb66

View file

@ -54,7 +54,7 @@ function sendCoins (account, toAddress, cryptoAtoms, cryptoCode) {
.then(tx => {
if (!tx) return { txid }
const fee = BN(tx.gas).multipliedBy(BN(tx.gasPrice)).round()
const fee = BN(tx.gas).mul(BN(tx.gasPrice)).round()
return { txid, fee }
})