add else case to ignore cases where there is a different op being used

pull/977/head
Joran Honig 6 years ago
parent 9e45f1ca1c
commit 75c6a12688
  1. 2
      mythril/analysis/modules/deprecated_ops.py

@ -45,6 +45,8 @@ def _analyze_state(state):
"therefore deprecated and may be removed in the future. Use the delegatecall method instead."
)
swc_id = DEPRECATED_FUNCTIONS_USAGE
else:
return
issue = Issue(
contract=state.environment.active_account.contract_name,

Loading…
Cancel
Save