diff --git a/ledger/src/use_snapshot_archives_at_startup.rs b/ledger/src/use_snapshot_archives_at_startup.rs index e34abfb777967f..b173ed1564e5fa 100644 --- a/ledger/src/use_snapshot_archives_at_startup.rs +++ b/ledger/src/use_snapshot_archives_at_startup.rs @@ -8,7 +8,6 @@ use strum::{Display, EnumString, EnumVariantNames, IntoStaticStr, VariantNames}; pub enum UseSnapshotArchivesAtStartup { /// If snapshot archives are used, they will be extracted and overwrite any existing state /// already on disk. This will incur the associated runtime costs for extracting. - #[default] Always, /// If snapshot archives are not used, then the local snapshot state already on disk is /// used instead. If there is no local state on disk, startup will fail. @@ -18,6 +17,7 @@ pub enum UseSnapshotArchivesAtStartup { /// restarting. At startup, the snapshot archive would be the newest and loaded from. /// Note, this also implies that snapshot archives will be used if there is no local snapshot /// state on disk. + #[default] WhenNewest, }