Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbpvsc committed Jul 17, 2024
1 parent a52547d commit 6304d43
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/transaction_manager.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use crate::config::GeneralConfig;
use core::panic;
use crossbeam::channel::Receiver;
use jito_protos::searcher::{
searcher_service_client::SearcherServiceClient, GetTipAccountsRequest,
@@ -23,7 +24,6 @@ use solana_sdk::{
system_instruction::transfer,
transaction::VersionedTransaction,
};
use core::panic;
use std::{
collections::{HashMap, HashSet},
sync::{
@@ -115,7 +115,11 @@ impl TransactionManager {
}
};
loop {
let next_leader = match self.searcher_client.get_next_scheduled_leader(NextScheduledLeaderRequest {}).await {
let next_leader = match self
.searcher_client
.get_next_scheduled_leader(NextScheduledLeaderRequest {})
.await
{
Ok(response) => response.into_inner(),
Err(e) => {
error!("Failed to get next scheduled leader: {:?}", e);

0 comments on commit 6304d43

Please sign in to comment.