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 darkfriend77 committed Jan 11, 2021
1 parent a788278 commit 10c755f
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 10c755f

Please sign in to comment.