Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Marek <[email protected]>
  • Loading branch information
arya2 and upbqdn authored Oct 18, 2024
1 parent 51cc63d commit 58a50f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zebra-state/src/service/finalized_state/zebra_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ impl ZebraDb {
&& newer_running_version.major == (older_disk_version.major + 1)
&& RESTORABLE_DB_VERSIONS.contains(&newer_running_version.major) =>
{
warn!("upgrading database format to the next major version");
info!("upgrading database format to the next major version");
// use the latest possible minor version to trigger all remaining format upgrades for the older major version
let db = new_db(Version::new(older_disk_version.major, u64::MAX, u64::MAX));
let finalized_tip = db.finalized_tip_height();

Expand Down

0 comments on commit 58a50f3

Please sign in to comment.