Skip to content

Commit

Permalink
revert test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Eitu33 committed Jul 5, 2023
1 parent 4d29455 commit 38c6320
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/as_execution/abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -799,11 +799,10 @@ pub(crate) fn assembly_script_get_origin_operation_id(
) -> ABIResult<i32> {
let env = get_env(&ctx)?;
sub_remaining_gas_abi(&env, &mut ctx, function_name!())?;
// let operation_id = env
// .get_interface()
// .get_origin_operation_id()?
// .unwrap_or_default();
let operation_id = "".to_string();
let operation_id = env
.get_interface()
.get_origin_operation_id()?
.unwrap_or_default();
Ok(pointer_from_string(&env, &mut ctx, &operation_id)?.offset() as i32)
}

Expand Down

0 comments on commit 38c6320

Please sign in to comment.