Skip to content

Commit 6883aba

Browse files
Alenardlachaume
andcommitted
feat(client-cli): include ancillary size in prerequisite disk space check
Co-authored-by: Damien Lachaume <[email protected]>
1 parent 39d8542 commit 6883aba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mithril-client-cli/src/commands/cardano_db/download.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ impl CardanoDbDownloadCommand {
151151
CardanoDbDownloadChecker::ensure_dir_exist(db_dir)?;
152152
if let Err(e) = CardanoDbDownloadChecker::check_prerequisites_for_archive(
153153
db_dir,
154-
cardano_db.size,
154+
cardano_db.size + cardano_db.ancillary_size.unwrap_or(0),
155155
cardano_db.compression_algorithm,
156156
) {
157157
progress_printer

0 commit comments

Comments
 (0)