Skip to content

Commit

Permalink
Update vyper/builtins/functions.py
Browse files Browse the repository at this point in the history
Co-authored-by: trocher <[email protected]>
  • Loading branch information
charles-cooper and trocher authored Sep 5, 2023
1 parent 1c62ca9 commit b88d0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/builtins/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ def build_IR(self, expr, args, kwargs, context):
dst1 = IRnode.from_list(buf + 64, typ=UINT256_T, location=MEMORY)
ret.append(make_setter(dst1, args[1]))

ret.append(["assert", ["staticcall", ["gas"], 7, buf, 128, buf, 64]])
ret.append(["assert", ["staticcall", ["gas"], 7, buf, 96, buf, 64]])
ret.append(buf)

return IRnode.from_list(ret, typ=SArrayT(UINT256_T, 2), location=MEMORY)
Expand Down

0 comments on commit b88d0c0

Please sign in to comment.