diff --git a/crates/polkavm/src/compiler.rs b/crates/polkavm/src/compiler.rs index fbecdf88..44a5c5ac 100644 --- a/crates/polkavm/src/compiler.rs +++ b/crates/polkavm/src/compiler.rs @@ -450,7 +450,7 @@ impl CompiledInstance where S: SandboxExt { } } - let mut on_hostcall = wrap_on_hostcall(on_hostcall); + let mut on_hostcall = wrap_on_hostcall::(on_hostcall); exec_args.set_on_hostcall(&mut on_hostcall); let sandbox = self.sandbox.as_mut().unwrap();