Skip to content
Snippets Groups Projects

Resolve "sync print 1 block apply when no blocks applied"

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -195,7 +195,7 @@ pub fn local_sync<DC: DuniterConf>(profile: &str, conf: &DC, sync_opts: SyncOpt)
@@ -195,7 +195,7 @@ pub fn local_sync<DC: DuniterConf>(profile: &str, conf: &DC, sync_opts: SyncOpt)
debug!("Success to get local current blockstamp.");
debug!("Success to get local current blockstamp.");
// Node is already synchronized ?
// Node is already synchronized ?
if target_blockstamp.id.0 < current_blockstamp.id.0 {
if target_blockstamp.id.0 <= current_blockstamp.id.0 {
println!("Your durs node is already synchronized.");
println!("Your durs node is already synchronized.");
return;
return;
}
}
Loading