Hopefully fix CircleCI complaint

pull/1029/head
Bernhard Mueller 6 years ago
parent 07ab25323c
commit 00de533507
  1. 7
      mythril/analysis/modules/dependence_on_predictable_vars.py

@ -173,10 +173,11 @@ def _analyze_states(state: GlobalState) -> list:
instructions = state.environment.code.instruction_list
opcode = instructions[state.mstate.pc - 1]["opcode"]
annotation = PredictableValueAnnotation(
"block." + opcode.lower() + " environment variable"
state.mstate.stack[-1].annotate(
PredictableValueAnnotation(
"block." + opcode.lower() + " environment variable"
)
)
state.mstate.stack[-1].annotate(annotation)
return issues

Loading…
Cancel
Save