Skip to content

Commit

Permalink
add missing fees parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
kenshin-samourai committed May 15, 2020
1 parent 4dffeca commit e90672d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bitcoind-rpc/transactions.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Transactions {
async getTransaction(txid, fees) {
try {
const tx = await this.rpcClient.getrawtransaction(txid, true)
return this._prepareTxResult(tx)
return this._prepareTxResult(tx, fees)
} catch(e) {
Logger.error(e, 'Bitcoind RPC : Transaction.getTransaction()')
return Promise.reject(errors.generic.GEN)
Expand Down

0 comments on commit e90672d

Please sign in to comment.