diff --git a/crates/core/src/contract/handler.rs b/crates/core/src/contract/handler.rs index dbe233564..b49ce1fbe 100644 --- a/crates/core/src/contract/handler.rs +++ b/crates/core/src/contract/handler.rs @@ -59,7 +59,7 @@ pub(crate) trait ContractHandler { contract_handler_channel: ContractHandlerChannel, executor_request_sender: ExecutorToEventLoopChannel, builder: Self::Builder, - ) -> impl Future> + ) -> impl Future> + Send where Self: Sized + 'static; @@ -72,7 +72,7 @@ pub(crate) trait ContractHandler { req: ClientRequest<'a>, client_id: ClientId, updates: Option>>, - ) -> impl Future> + 'a; + ) -> impl Future> + Send + 'a; fn executor(&mut self) -> &mut Self::ContractExecutor; }