Remove reassignment of description in delegatecall.py

pull/852/head
Bernhard Mueller 6 years ago
parent eb19d8a170
commit 792ef1c058
  1. 6
      mythril/analysis/modules/delegatecall.py

@ -88,12 +88,6 @@ def _concrete_call(
gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used), gas_used=(state.mstate.min_gas_used, state.mstate.max_gas_used),
) )
issue.description = (
""
"This means that any function in the called contract can be executed. Note that the callee contract will have "
"access to the storage of the calling contract.\n"
)
target = hex(call.to.val) if call.to.type == VarType.CONCRETE else str(call.to) target = hex(call.to.val) if call.to.type == VarType.CONCRETE else str(call.to)
issue.description += "DELEGATECALL target: {}".format(target) issue.description += "DELEGATECALL target: {}".format(target)

Loading…
Cancel
Save