diff --git a/nym-validator-rewarder/src/error.rs b/nym-validator-rewarder/src/error.rs index f082e908ed..a3db95e6f6 100644 --- a/nym-validator-rewarder/src/error.rs +++ b/nym-validator-rewarder/src/error.rs @@ -11,7 +11,7 @@ use nym_validator_client::nyxd::tx::ErrorReport; use nym_validator_client::nyxd::{AccountId, Coin}; use nyxd_scraper_sqlite::error::SqliteScraperError; use std::io; -use std::path::{Path, PathBuf}; +use std::path::PathBuf; use thiserror::Error; #[derive(Debug, Error)] diff --git a/nym-validator-rewarder/src/rewarder/mod.rs b/nym-validator-rewarder/src/rewarder/mod.rs index a5d43bca05..03ca36dff0 100644 --- a/nym-validator-rewarder/src/rewarder/mod.rs +++ b/nym-validator-rewarder/src/rewarder/mod.rs @@ -187,7 +187,7 @@ impl Rewarder { info!("the block signing rewarding is running in monitor only mode"); } - let nyxd_scraper = SqliteNyxdScraper::new(config.scraper_config()).await?; + let nyxd_scraper = SqliteNyxdScraper::new(config.scraper_config()?).await?; Some(EpochSigning { nyxd_scraper,