diff --git a/slither/detectors/oracles/supported_oracles/oracle.py b/slither/detectors/oracles/supported_oracles/oracle.py index 94583c219..880abe5fc 100644 --- a/slither/detectors/oracles/supported_oracles/oracle.py +++ b/slither/detectors/oracles/supported_oracles/oracle.py @@ -85,8 +85,8 @@ def check_staleness(self, var: VarInCondition) -> bool: # This is temporarily check which will be improved in the future. Mostly we are looking for block.timestamp and trust the developer that he is using it correctly if self.timestamp_in_node(node): return True - if not different_behavior: - different_behavior = check_revert(node) or return_boolean(node) + if not different_behavior: + different_behavior = check_revert(node) or return_boolean(node) return different_behavior