Commit a0899525 authored by justinw's avatar justinw

remove (currently) redundant check

parent 0a312268
......@@ -30,8 +30,6 @@ def irreversible_ttl(jsonrpc_response: dict=None,
return TTL.NO_CACHE
try:
jrpc_block_num = block_num_from_jsonrpc_response(jsonrpc_response)
if jrpc_block_num and jrpc_block_num <= last_irreversible_block_num:
return TTL.DEFAULT_TTL
return TTL.DEFAULT_TTL
except Exception as e:
logger.warning(
......
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