Skip to content
Snippets Groups Projects
Commit f6466de3 authored by Pierre Krieger's avatar Pierre Krieger Committed by GitHub
Browse files

MemoryId -> u32 (#7534)

parent 07abf7d3
No related merge requests found
...@@ -232,7 +232,7 @@ impl<'a> Sandbox for HostContext<'a> { ...@@ -232,7 +232,7 @@ impl<'a> Sandbox for HostContext<'a> {
.map_err(|e| e.to_string()) .map_err(|e| e.to_string())
} }
fn memory_new(&mut self, initial: u32, maximum: MemoryId) -> sp_wasm_interface::Result<u32> { fn memory_new(&mut self, initial: u32, maximum: u32) -> sp_wasm_interface::Result<u32> {
self.sandbox_store self.sandbox_store
.borrow_mut() .borrow_mut()
.new_memory(initial, maximum) .new_memory(initial, maximum)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment