Skip to content

Commit

Permalink
rename a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Aug 6, 2024
1 parent 986a81a commit 385be9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vyper/codegen/external_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def _pack_arguments(fn_type, args, context):
pack_args.append(["mstore", buf, util.method_id_int(abi_signature)])

if len(args) != 0:
new_buf = add_ofst(buf, 32)
new_buflen = buflen - 32
pack_args.append(abi_encode(new_buf, args_as_tuple, context, bufsz=new_buflen))
encode_buf = add_ofst(buf, 32)
encode_buflen = buflen - 32
pack_args.append(abi_encode(encode_buf, args_as_tuple, context, bufsz=encode_buflen))

return buf, pack_args, args_ofst, args_len

Expand Down

0 comments on commit 385be9c

Please sign in to comment.