Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Aideepakchaudhary committed Nov 19, 2024
1 parent 956f48f commit 2b339e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions node/runtime-interfaces/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ pub trait Sandbox {
buf_ptr: Pointer<u8>,
buf_len: u32,
) -> u32 {
self.sandbox()
.memory_get(memory_idx, offset, buf_ptr, buf_len)
.expect("Failed to get memory with sandbox")
// return 0;
// self.sandbox()
// .memory_get(memory_idx, offset, buf_ptr, buf_len)
// .expect("Failed to get memory with sandbox")
return 0;
}
/// Set sandbox memory from the given value.
fn memory_set(
Expand Down

0 comments on commit 2b339e0

Please sign in to comment.