diff --git a/crates/rpc/rpc-builder/src/lib.rs b/crates/rpc/rpc-builder/src/lib.rs index 458423a24633..240954fba6c8 100644 --- a/crates/rpc/rpc-builder/src/lib.rs +++ b/crates/rpc/rpc-builder/src/lib.rs @@ -1289,7 +1289,7 @@ impl RpcServerConfig { /// /// If both are on the same port, they are combined into one server. pub async fn start( - &mut self, + self, modules: &TransportRpcModules, ) -> Result { let mut http_handle = None;