correct diff window

This commit is contained in:
aglkm
2024-05-08 14:13:02 +03:00
parent 522c2e412e
commit ce04d8c77e

View File

@@ -197,7 +197,7 @@ pub fn get_disk_usage(dashboard: Arc<Mutex<Dashboard>>) -> Result<(), Error> {
// Collecting: hashrate, difficulty, production cost.
pub async fn get_mining_stats(dashboard: Arc<Mutex<Dashboard>>) -> Result<(), Error> {
let difficulty_window = 60;
let difficulty_window = 1440;
let height = get_current_height(dashboard.clone());
if height.is_empty() == false {