mirror of
https://github.com/transatoshi-mw/grin-explorer.git
synced 2025-10-21 21:43:40 +00:00
correct diff window
This commit is contained in:
@@ -197,7 +197,7 @@ pub fn get_disk_usage(dashboard: Arc<Mutex<Dashboard>>) -> Result<(), Error> {
|
|||||||
|
|
||||||
// Collecting: hashrate, difficulty, production cost.
|
// Collecting: hashrate, difficulty, production cost.
|
||||||
pub async fn get_mining_stats(dashboard: Arc<Mutex<Dashboard>>) -> Result<(), Error> {
|
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());
|
let height = get_current_height(dashboard.clone());
|
||||||
|
|
||||||
if height.is_empty() == false {
|
if height.is_empty() == false {
|
||||||
|
Reference in New Issue
Block a user