1.0.3 FLOsight Error Resolution

Commenting out the part which makes the node
This commit is contained in:
Vivek Teega 2021-05-11 13:09:50 +05:30
parent c3d32b7ffc
commit 79fff4051b

View File

@ -307,11 +307,18 @@ TransactionService.prototype._getInputValues = function(tx, options, callback) {
},
// if not in mempool or tx index, we just don't have it, yet?
function(txid, tx, next) {
if (!tx) {
return next(new Error('Transaction Service: prev transacion: (' + input.prevout.txid() + ') for tx: ' +
log.info('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' +
' 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.');
return;
/* FLOsight Error Resolution by RanchiMall 11th May 2021
return next(new 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' +
' that the parent tx has not yet been relayed to us, but will be relayed in the near future.'));*/
}
var output = tx.outputs[outputIndex];
assert(output, 'Expected an output, but did not get one for tx: ' + tx.txid() + ' outputIndex: ' + outputIndex);