tidy up validator rewarder
This commit is contained in:
@@ -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)]
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user