Skip to content

Commit

Permalink
Remove testing logs
Browse files Browse the repository at this point in the history
  • Loading branch information
MCozhusheck committed Nov 20, 2024
1 parent 0171ff5 commit a9cb146
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src-tauri/src/node_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::sync::Arc;
use std::time::SystemTime;

use chrono::{NaiveDateTime, TimeZone, Utc};
use log::{error, warn};
use log::{error, info};
use minotari_node_grpc_client::grpc::Peer;
use tari_common::configuration::Network;
use tari_core::transactions::tari_amount::MicroMinotari;
Expand Down Expand Up @@ -222,11 +222,10 @@ impl NodeManager {
}
})?;
if !is_synced {
warn!(target: LOG_TARGET, "Node is not synced, skipping orphan chain check");
info!(target: LOG_TARGET, "Node is not synced, skipping orphan chain check");
return Ok(false);
} else {
warn!(target: LOG_TARGET, "Node is synced, checking orphan chain");
}

let network = Network::get_current_or_user_setting_or_default();
let block_scan_tip = get_best_block_from_block_scan(network).await?;
let heights: Vec<u64> = vec![
Expand Down

0 comments on commit a9cb146

Please sign in to comment.