Skip to content

Commit

Permalink
fix the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Jun 10, 2024
1 parent 1acf7e2 commit 74e2e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/codegen/ir_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ def referenced_variables(self):

@cached_property
def contains_risky_call(self):
ret = self.value in ("call", "delegatecall", "create", "create2")
ret = self.value in ("call", "delegatecall", "staticcall", "create", "create2")

for arg in self.args:
ret |= arg.contains_risky_call
Expand Down

0 comments on commit 74e2e9d

Please sign in to comment.