diff options
author | Howard Chu <hyc@symas.com> | 2020-08-01 13:40:50 +0100 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2020-08-01 17:14:29 +0100 |
commit | 2f481da90096bc5979f70e77a999489028ee8613 (patch) | |
tree | ae7ac809db6fc6d9745aebebd2b952dbfa816cec /src/blockchain_utilities/blockchain_stats.cpp | |
parent | Merge pull request #6729 (diff) | |
download | monero-2f481da90096bc5979f70e77a999489028ee8613.tar.xz |
Don't forget size of prunable txn part
Fixes #6732
Diffstat (limited to 'src/blockchain_utilities/blockchain_stats.cpp')
-rw-r--r-- | src/blockchain_utilities/blockchain_stats.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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]++; |