Bugfix: init: For first-run disk space check, advise user of correct pruned size rather than full blockchain size

This commit is contained in:
Luke Dashjr 2024-03-19 05:04:24 +00:00
parent 4f06564f36
commit 4c62285bb9

View file

@ -1726,7 +1726,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
"Approximately %u GB of data will be stored in this directory." "Approximately %u GB of data will be stored in this directory."
), ),
fs::quoted(fs::PathToString(args.GetBlocksDirPath())), fs::quoted(fs::PathToString(args.GetBlocksDirPath())),
chainparams.AssumedBlockchainSize() additional_bytes_needed / 1'000'000'000
)); ));
} }
} }