diff --git a/cli/README.md b/cli/README.md index 057fee9..c40c96d 100644 --- a/cli/README.md +++ b/cli/README.md @@ -21,6 +21,8 @@ cargo b --release --bin jito-searcher-cli ### Get the next scheduled leader +(Note: This check is no longer needed since Jito-Sol is on roughly 80% of validators. If this were to drop below 50% this check might be more useful) + Returns the pubkey of the next scheduled leader. ```bash diff --git a/cli/src/main.rs b/cli/src/main.rs index a6d792d..7c920b3 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -261,6 +261,7 @@ where .into_inner(); // wait for jito-solana leader slot + // note: this check is not needed unless jito-solana controls less than 50% of validators let mut is_leader_slot = false; while !is_leader_slot { let next_leader = client