Log miner fee (#237)

* Get miner fee written in some wallet plugins

* Return txid and fee for geth. possible problem with txid (zero hash on pending transaction)

* bitgo fee return

* Wallet apis fees save in cryptoAtoms
This commit is contained in:
Davit Abulashvili 2019-01-04 20:34:50 +04:00 committed by Josh Harvey
parent fa69956963
commit 163473a7ee
9 changed files with 64 additions and 4 deletions

View file

@ -51,7 +51,7 @@ function sendCoins (account, toAddress, cryptoAtoms, cryptoCode) {
console.log('[%s] DEBUG: Mock wallet sending %s cryptoAtoms to %s',
cryptoCode, cryptoAtoms.toString(), toAddress)
return resolve('<txHash>')
return resolve({ txid: '<txHash>', fee: BN(0) })
}, 2000)
})
}