diff --git a/src/daemon.rs b/src/daemon.rs index b4e3cfc10..b2f0436b6 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -784,8 +784,8 @@ impl Daemon { info!( "downloaded {}/{} block headers ({:.0}%)", result.len(), - tip_height, - result.len() as f32 / tip_height as f32 * 100.0 + tip_height + 1, + result.len() as f32 / (tip_height + 1) as f32 * 100.0 ); }