From a089952520062c422f4fe8aa0b918eb78a52fe3e Mon Sep 17 00:00:00 2001 From: justinw <juswelch@gmail.com> Date: Tue, 25 Jun 2019 16:44:59 -0400 Subject: [PATCH] remove (currently) redundant check --- jussi/cache/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/jussi/cache/utils.py b/jussi/cache/utils.py index 8a4fbe4..6a3bfe2 100644 --- a/jussi/cache/utils.py +++ b/jussi/cache/utils.py @@ -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( -- GitLab