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 d96b87e commit 36bde7d
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 @@ -71,7 +71,6 @@ def _detect(self) -> List[Output]:
and ir.function_name in ("overhead", "scalar", "getL1GasUsed")
):
use_deprecated.append(ir.node)

# Sort so output is deterministic
use_deprecated.sort(key=lambda x: (x.node_id, x.function.full_name))

Expand Down

0 comments on commit 36bde7d

Please sign in to comment.