Skip to content
Snippets Groups Projects
Commit a0899525 authored by justinw's avatar justinw
Browse files

remove (currently) redundant check

parent 0a312268
No related branches found
No related tags found
No related merge requests found
......@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment