diff --git a/runtime/src/snapshot_utils.rs b/runtime/src/snapshot_utils.rs index 59c95abcbb795f..08295e7e9ca0b9 100644 --- a/runtime/src/snapshot_utils.rs +++ b/runtime/src/snapshot_utils.rs @@ -342,7 +342,7 @@ pub fn archive_snapshot_package( let do_archive_files = |encoder: &mut dyn Write| -> Result<()> { let mut archive = tar::Builder::new(encoder); - for dir in ["accounts", "snapshots"] { + for dir in ["snapshots", "accounts"] { archive.append_dir_all(dir, staging_dir.as_ref().join(dir))?; } archive.append_path_with_name(staging_dir.as_ref().join("version"), "version")?;