Skip to content

Commit

Permalink
fix: require initial connected peer for wait synced
Browse files Browse the repository at this point in the history
  • Loading branch information
mmrrnn committed Jan 8, 2025
1 parent 614abc9 commit 75cdbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/node_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ impl MinotariNodeStatusMonitor {
.map_err(|e| MinotariNodeStatusMonitorError::UnknownError(e.into()))?;
let tip_res = tip.into_inner();
let sync_progress = sync_progress.into_inner();
if tip_res.initial_sync_achieved {
if tip_res.initial_sync_achieved && sync_progress.initial_connected_peers > 0 {
break Ok(());
}

Expand Down

0 comments on commit 75cdbb9

Please sign in to comment.