Update slither/detectors/assembly/incorrect_return.py

Co-authored-by: alpharush <0xalpharush@protonmail.com>
pull/2156/head
Feist Josselin 1 year ago committed by GitHub
parent 700794971b
commit 561a6f88d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/detectors/assembly/incorrect_return.py

@ -67,7 +67,7 @@ The function will return 6 bytes starting from offset 5, instead of returning a
def _detect(self) -> List[Output]:
results: List[Output] = []
for c in self.contracts:
for f in c.functions_declared:
for f in c.functions_and_modifiers_declared:
for node in f.nodes:
if node.sons:

Loading…
Cancel
Save