mirror of
https://github.com/0xfnzero/solana-streamer.git
synced 2026-08-18 11:28:05 +00:00
rebuild code
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ impl JitoClient {
|
||||
{
|
||||
let accounts = self.tip_accounts.read().await;
|
||||
if !accounts.is_empty() {
|
||||
if let Some(acc) = accounts.iter().choose(&mut rand::thread_rng()) {
|
||||
if let Some(acc) = accounts.iter().choose(&mut rand::rng()) {
|
||||
return Pubkey::from_str(acc)
|
||||
.map_err(|err| {
|
||||
error!("jito: failed to parse Pubkey: {:?}", err);
|
||||
|
||||
Reference in New Issue
Block a user