Skip to content

Commit

Permalink
refactor: remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef committed Feb 9, 2023
1 parent b9e5865 commit 2fbafd5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/as_execution/abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,6 @@ pub(crate) fn assembly_script_hash_sha256(
bytes: i32,
) -> ABIResult<i32> {
let env = ctx.data().clone();
// TODO: Support dynamic gas cost depending on the payload size
sub_remaining_gas_abi(&env, &mut ctx, function_name!())?;
let memory = get_memory!(env);
let bytes = read_buffer(memory, &ctx, bytes)?;
Expand Down

0 comments on commit 2fbafd5

Please sign in to comment.