MemoryId -> u32 (#7534)

This commit is contained in:
Pierre Krieger
2020-11-13 14:48:23 +01:00
committed by GitHub
parent 07abf7d3af
commit f6466de3e7
@@ -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)