Skip to content

Commit

Permalink
Update slither/detectors/functions/optimism_deprecation.py
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
smonicas and github-actions[bot] authored Oct 4, 2024
1 parent 36bde7d commit 6afd281
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion slither/detectors/functions/optimism_deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def _detect(self) -> List[Output]:
use_deprecated.append(ir.node)
# Sort so output is deterministic
use_deprecated.sort(key=lambda x: (x.node_id, x.function.full_name))

if len(use_deprecated) > 0:
info: DETECTOR_INFO = [
"A deprecated Optimism predeploy or function is used in the ",
Expand Down

0 comments on commit 6afd281

Please sign in to comment.