File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -277,6 +277,13 @@ func (bc *BlockChain) GetTransactionLookup(hash common.Hash) (*rawdb.LegacyTxLoo
277277 if tx == nil {
278278 progress , err := bc .TxIndexProgress ()
279279 if err != nil {
280+ // No error is returned if the transaction indexing progress is unreachable
281+ // due to unexpected internal errors. In such cases, it is impossible to
282+ // determine whether the transaction does not exist or has simply not been
283+ // indexed yet without a progress marker.
284+ //
285+ // In such scenarios, the transaction is treated as unreachable, though
286+ // this is clearly an unintended and unexpected situation.
280287 return nil , nil , nil
281288 }
282289 // The transaction indexing is not finished yet, returning an
You can’t perform that action at this time.
0 commit comments