Block a user
Add wait-for-sbot to peach-config
for comparison, if we use ditch the Err cases and then use if let instead of match:
while num_attempts < MAX_NUM_ATTEMPTS {
let sbot_res = init_sbot().await;
…
Add wait-for-sbot to peach-config
hi @notplants, here from the "P4P Rust Learning" chat. 😺
on how to refactor peach-config/src/wait_for_sbot.rs, here's what i came up with so far:
use std::{thread, time};
us…