Fix ETH sending following miner fee logging
This commit is contained in:
parent
ae39a87244
commit
07f4bdfb66
1 changed files with 1 additions and 1 deletions
|
|
@ -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 }
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue