From 2f481da90096bc5979f70e77a999489028ee8613 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 1 Aug 2020 13:40:50 +0100 Subject: [PATCH] Don't forget size of prunable txn part Fixes #6732 --- src/blockchain_utilities/blockchain_stats.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blockchain_utilities/blockchain_stats.cpp b/src/blockchain_utilities/blockchain_stats.cpp index 0d18b8819..0331af6f2 100644 --- a/src/blockchain_utilities/blockchain_stats.cpp +++ b/src/blockchain_utilities/blockchain_stats.cpp @@ -275,6 +275,8 @@ skip: return 1; } currsz += bd.size(); + if (db->get_prunable_tx_blob(tx_id, bd)) + currsz += bd.size(); currtxs++; if (do_hours) txhr[currtm.tm_hour]++;