mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-20 22:09:06 +08:00
use float
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user