Update index.js
This commit is contained in:
parent
81a3d5f8ff
commit
80f22f731f
@ -312,7 +312,7 @@ TransactionService.prototype._getInputValues = function(tx, options, callback) {
|
|||||||
// if not in mempool or tx index, we just don't have it, yet?
|
// if not in mempool or tx index, we just don't have it, yet?
|
||||||
function(txid, tx, next) {
|
function(txid, tx, next) {
|
||||||
if (!tx) {
|
if (!tx) {
|
||||||
return next(new Error('Transaction Service: prev transacion: (' + input.prevout.txid() + ') for tx: ' +
|
return next(log.error('Transaction Service: prev transacion: (' + input.prevout.txid() + ') for tx: ' +
|
||||||
_tx.txid() + ' at input index: ' + outputIndex + ' is missing from the index or not in the memory pool. It could be' +
|
_tx.txid() + ' at input index: ' + outputIndex + ' is missing from the index or not in the memory pool. It could be' +
|
||||||
' that the parent tx has not yet been relayed to us, but will be relayed in the near future.'));
|
' that the parent tx has not yet been relayed to us, but will be relayed in the near future.'));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user