From 7165e7dfd3bbddd0c00a39f91e845bae1ce618ed Mon Sep 17 00:00:00 2001 From: Serge FARNY Date: Wed, 3 Apr 2024 10:22:39 +0200 Subject: [PATCH] fix examples --- connector/examples/combined_example_consumer.rs | 4 ++-- connector/examples/geyser_example_consumer.rs | 4 ++-- connector/examples/websocket_example_consumer.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/connector/examples/combined_example_consumer.rs b/connector/examples/combined_example_consumer.rs index ef390c7..6697e7f 100644 --- a/connector/examples/combined_example_consumer.rs +++ b/connector/examples/combined_example_consumer.rs @@ -95,8 +95,8 @@ async fn main() -> anyhow::Result<()> { let filter_config = filter_config1; grpc_plugin_source::process_events( - &config, - &filter_config, + config, + filter_config, account_write_queue_sender, slot_queue_sender, metrics_tx.clone(), diff --git a/connector/examples/geyser_example_consumer.rs b/connector/examples/geyser_example_consumer.rs index ef390c7..6697e7f 100644 --- a/connector/examples/geyser_example_consumer.rs +++ b/connector/examples/geyser_example_consumer.rs @@ -95,8 +95,8 @@ async fn main() -> anyhow::Result<()> { let filter_config = filter_config1; grpc_plugin_source::process_events( - &config, - &filter_config, + config, + filter_config, account_write_queue_sender, slot_queue_sender, metrics_tx.clone(), diff --git a/connector/examples/websocket_example_consumer.rs b/connector/examples/websocket_example_consumer.rs index cde15b5..e466952 100644 --- a/connector/examples/websocket_example_consumer.rs +++ b/connector/examples/websocket_example_consumer.rs @@ -77,8 +77,8 @@ async fn main() -> anyhow::Result<()> { }); websocket_source::process_events( - &config, - &filter_config, + config, + filter_config, account_write_queue_sender, slot_queue_sender, )