From a9df361261c139fab8bcaea8ce00c2cdedf7bdfe Mon Sep 17 00:00:00 2001 From: Itay Tsabary Date: Mon, 15 Jul 2024 16:28:46 +0300 Subject: [PATCH] fix: rename mempool client arg name commit-id:f460dd71 --- crates/gateway/src/gateway.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]