From 4c62285bb93b763cbc29e2ab5fe81d221f471084 Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Tue, 19 Mar 2024 05:04:24 +0000 Subject: [PATCH] Bugfix: init: For first-run disk space check, advise user of correct pruned size rather than full blockchain size --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index afd559291c6..f3f056da4da 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1726,7 +1726,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) "Approximately %u GB of data will be stored in this directory." ), fs::quoted(fs::PathToString(args.GetBlocksDirPath())), - chainparams.AssumedBlockchainSize() + additional_bytes_needed / 1'000'000'000 )); } }