fix: re-enable sleep

This commit is contained in:
Ludo Galabru
2023-07-21 14:32:25 -04:00
parent f99b073528
commit 0f61a26fda

View File

@@ -37,7 +37,6 @@ use std::path::PathBuf;
use std::process;
use std::sync::mpsc::channel;
use std::sync::Arc;
use std::thread::sleep;
#[derive(Parser, Debug)]
#[clap(author, version, about, long_about = None)]
@@ -576,6 +575,8 @@ async fn handle_command(opts: Opts, ctx: &Context) -> Result<(), String> {
info!(ctx.expect_logger(), "Starting service...",);
std::thread::sleep(std::time::Duration::from_secs(36000));
let start_block = match cmd.start_at_block {
Some(entry) => entry,
None => match last_known_block {