From d745d2433356792f55ee50b4be3f7bcd97b1b495 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 1 Aug 2020 13:40:50 +0100 Subject: Don't forget size of prunable txn part Fixes #6732 --- src/blockchain_utilities/blockchain_stats.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/blockchain_utilities/blockchain_stats.cpp b/src/blockchain_utilities/blockchain_stats.cpp index c9c815f2a..d7c0dc10e 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]++; -- cgit v1.2.3