aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_utilities
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2020-08-01 13:40:50 +0100
committerHoward Chu <hyc@symas.com>2020-08-01 13:41:38 +0100
commitd745d2433356792f55ee50b4be3f7bcd97b1b495 (patch)
tree8112f5d229cb4ffd5b277101304ad95aa9281ead /src/blockchain_utilities
parentMerge pull request #6586 (diff)
downloadmonero-d745d2433356792f55ee50b4be3f7bcd97b1b495.tar.xz
Don't forget size of prunable txn part
Fixes #6732
Diffstat (limited to 'src/blockchain_utilities')
-rw-r--r--src/blockchain_utilities/blockchain_stats.cpp2
1 files changed, 2 insertions, 0 deletions
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]++;