Skip to content

Commit

Permalink
MemoryId -> u32 (paritytech#7534)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka authored and shamb0 committed Nov 21, 2020
1 parent 9c2f0e7 commit c9eaf2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/executor/wasmtime/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c9eaf2f

Please sign in to comment.