Merge branch 'patch-1' of github.com:medariox/slither into medariox-patch-1

pull/1442/head
Josselin Feist 2 years ago
commit c15e88d944
  1. 2
      slither/slithir/convert.py

@ -827,7 +827,7 @@ def extract_tmp_call(ins: TmpCall, contract: Optional[Contract]): # pylint: dis
# lib L { event E()}
# ...
# emit L.E();
if str(ins.ori.variable_right) in ins.ori.variable_left.events_as_dict:
if str(ins.ori.variable_right) in [f.name for f in ins.ori.variable_left.events]:
eventcall = EventCall(ins.ori.variable_right)
eventcall.set_expression(ins.expression)
eventcall.call_id = ins.call_id

Loading…
Cancel
Save