Update slither/detectors/functions/optimism_deprecation.py

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
pull/2575/head
Simone 4 weeks ago committed by GitHub
parent 36bde7dc2e
commit 6afd281012
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      slither/detectors/functions/optimism_deprecation.py

@ -73,7 +73,6 @@ The call to the `scalar` function of the Optimism GasPriceOracle predeploy alway
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 ",

Loading…
Cancel
Save