From 9dcc1b41a612da2f63ea05e31a38706d7d73f5cc Mon Sep 17 00:00:00 2001 From: Mark Sinclair Date: Tue, 11 Nov 2025 19:39:48 +0000 Subject: [PATCH] tidy up validator rewarder --- nym-validator-rewarder/src/error.rs | 2 +- nym-validator-rewarder/src/rewarder/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,