1.0.5 "return" was missing from lib/services/block/index.js
- Reverted back the previous 2 commits - Added return to lib/services/block/index.js
This commit is contained in:
parent
3b8d992504
commit
0061285204
@ -984,6 +984,7 @@ BlockService.prototype._handleError = function(err) {
|
|||||||
log.error('Block Service: handle error ' + err);
|
log.error('Block Service: handle error ' + err);
|
||||||
//FLO Crash Error Resolution by RanchiMall 10th May 2021
|
//FLO Crash Error Resolution by RanchiMall 10th May 2021
|
||||||
//return this.node.stop();
|
//return this.node.stop();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -307,16 +307,10 @@ 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) {
|
||||||
log.info('Transaction Service: prev transacion: (' + input.prevout.txid() + ') for tx: ' +
|
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' +
|
_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 next();
|
|
||||||
/* 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];
|
var output = tx.outputs[outputIndex];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user