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:
parent
fa69956963
commit
163473a7ee
9 changed files with 64 additions and 4 deletions
|
|
@ -57,8 +57,9 @@ function postProcess (r, pi) {
|
|||
if (!cashInLow.isClearToSend(r.dbTx, r.tx)) return Promise.resolve({})
|
||||
|
||||
return pi.sendCoins(r.tx)
|
||||
.then(txHash => ({
|
||||
txHash,
|
||||
.then(txObj => ({
|
||||
txHash: txObj.txid,
|
||||
fee: txObj.fee,
|
||||
sendConfirmed: true,
|
||||
sendTime: 'now()^',
|
||||
sendPending: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue