MemoryId -> u32 (#7534)

This commit is contained in:
Pierre Krieger authored and GitHub committed 2020-11-13 13:48:23 +00:00
1 parent 07abf7d3af
commit f6466de3e7
1 file changed
+1 -1
@@ -232,7 +232,7 @@ impl<'a> Sandbox for HostContext<'a> {
.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
.borrow_mut()
.new_memory(initial, maximum)