Skip to content

Commit

Permalink
Merge branch 'patch-1' of github.com:medariox/slither into medariox-p…
Browse files Browse the repository at this point in the history
…atch-1
  • Loading branch information
montyly committed Oct 26, 2022
2 parents 4b3d5f4 + ac7c2a6 commit c15e88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/slithir/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c15e88d

Please sign in to comment.