Skip to content

Commit

Permalink
fix: rename mempool client arg name
Browse files Browse the repository at this point in the history
commit-id:f460dd71
  • Loading branch information
Itay-Tsabary-Starkware committed Jul 15, 2024
1 parent dd7b11d commit a9df361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/gateway/src/gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a9df361

Please sign in to comment.