Skip to content

Commit

Permalink
remove block
Browse files Browse the repository at this point in the history
Signed-off-by: xermicus <[email protected]>
  • Loading branch information
xermicus committed Oct 3, 2024
1 parent d4fbe66 commit 4a8c49b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions substrate/frame/revive/uapi/src/host/riscv32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -506,9 +506,7 @@ impl HostFn for HostFnImpl {

fn get_immutable_data(output: &mut &mut [u8]) {
let mut output_len = output.len() as u32;
{
unsafe { sys::get_immutable_data(output.as_mut_ptr(), &mut output_len) };
}
unsafe { sys::get_immutable_data(output.as_mut_ptr(), &mut output_len) };
extract_from_slice(output, output_len as usize);
}

Expand Down

0 comments on commit 4a8c49b

Please sign in to comment.