Skip to content

Commit

Permalink
Merge branch 'testnet3' of https://github.com/AleoHQ/snarkOS into fea…
Browse files Browse the repository at this point in the history
…t/custom-genesis
  • Loading branch information
raychu86 committed Aug 24, 2022
2 parents ef0dd8f + fa82c60 commit 87ec022
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions snarkos/ledger/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,11 +299,7 @@ impl<N: Network> Ledger<N> {
let millis_per_block = (timer.elapsed().as_millis()) / (height - ledger_height) as u128;
let time_remaining = (latest_height - height) as u128 * millis_per_block;
// Prepare the estimate message (in secs).
let estimate = format!(
"(est. {} minutes remaining, avg. {} ms/block)",
time_remaining / (60 * 1000),
millis_per_block
);
let estimate = format!("(est. {} minutes remaining)", time_remaining / (60 * 1000));
// Log the progress.
info!(
"Synced up to block {height} of {latest_height} - {percentage}% complete {}",
Expand Down

0 comments on commit 87ec022

Please sign in to comment.