Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
losman0s committed Jan 5, 2024
1 parent e3a6ecb commit ad2d00e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions observability/indexer/src/commands/index_accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use anyhow::Result;
use base64::{engine::general_purpose, Engine};
use chrono::{DateTime, Utc};
use envconfig::Envconfig;
use futures::{future::join_all, SinkExt, StreamExt};
use futures::{future::join_all, StreamExt};
use google_cloud_default::WithAuthExt;
use google_cloud_googleapis::pubsub::v1::PubsubMessage;
use google_cloud_pubsub::client::{Client, ClientConfig};
Expand All @@ -25,9 +25,8 @@ use yellowstone_grpc_client::GeyserGrpcClient;
use yellowstone_grpc_proto::{
geyser::{
subscribe_update::UpdateOneof, CommitmentLevel, SubscribeRequest,
SubscribeRequestFilterAccounts, SubscribeRequestFilterSlots, SubscribeRequestPing,
SubscribeRequestFilterAccounts, SubscribeRequestFilterSlots,
},
tonic::transport::ClientTlsConfig,
};

#[derive(Envconfig, Debug, Clone)]
Expand Down Expand Up @@ -147,7 +146,7 @@ async fn listen_to_updates(ctx: Arc<Context>) {
};

// Establish streams
let (mut subscribe_request_sink, mut stream) = match geyser_client
let (_, mut stream) = match geyser_client
.subscribe_with_request(Some(subscribe_request))
.await
{
Expand Down
1 change: 1 addition & 0 deletions observability/indexer/src/commands/index_transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ use std::{
},
time::Duration,
};
use tonic::Status;
use tracing::{debug, error, info, warn};
use uuid::Uuid;
use yellowstone_grpc_client::GeyserGrpcClient;
Expand Down

0 comments on commit ad2d00e

Please sign in to comment.