fix wait for sol bug
This commit is contained in:
parent
3ceb4227cc
commit
855e9ab28b
@ -139,9 +139,9 @@ async fn wait_for_sol(client: &RpcClient, pubkey: &Pubkey) {
|
|||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!("Could not get balance: {e:?}");
|
println!("Could not get balance: {e:?}");
|
||||||
sleep(Duration::from_secs(30)).await;
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
sleep(Duration::from_secs(30)).await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user