Commit 16c3d1ec authored by inphi's avatar inphi

remove reorg todo; cached reorgs will be invalidated per ttl

parent b102f7ba
......@@ -421,7 +421,6 @@ func getBlockDependentCachedRPCResponse(ctx context.Context, cache Cache, getLat
// TODO: be careful removing keys once there are multiple proxyd instances
return nil, cache.Remove(ctx, key)
} else if curBlockNum < item.BlockNum { /* desync: reorgs, backend failover, slow sequencer I/O, etc */
// TODO: Use the blockHash to detect reorgs and invalidate the key
return nil, nil
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment