diff --git a/crates/gateway/src/gateway.rs b/crates/gateway/src/gateway.rs index 920be0ae..9d1a53fd 100644 --- a/crates/gateway/src/gateway.rs +++ b/crates/gateway/src/gateway.rs @@ -146,11 +146,11 @@ fn process_tx( pub fn create_gateway( config: GatewayConfig, rpc_state_reader_config: RpcStateReaderConfig, - client: SharedMempoolClient, + mempool_client: SharedMempoolClient, ) -> Gateway { let state_reader_factory = Arc::new(RpcStateReaderFactory { config: rpc_state_reader_config }); let gateway_compiler = GatewayCompiler { config: config.compiler_config }; - Gateway::new(config, state_reader_factory, gateway_compiler, client) + Gateway::new(config, state_reader_factory, gateway_compiler, mempool_client) } #[async_trait]