use float

This commit is contained in:
Pavitthra Pandurangan
2023-06-29 16:51:18 -04:00
parent 86d07def8c
commit f139738330

View File

@@ -1097,7 +1097,7 @@ impl RunLoop {
let percent: f64 = if remote_chain_height > 0 {
burnchain_tip.block_snapshot.block_height as f64 / remote_chain_height as f64
} else {
0
0.0
};
// will recalculate this in the following loop