diff options
author | Howard Chu <hyc@symas.com> | 2020-08-01 13:40:50 +0100 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2020-08-01 13:41:38 +0100 |
commit | d745d2433356792f55ee50b4be3f7bcd97b1b495 (patch) | |
tree | 8112f5d229cb4ffd5b277101304ad95aa9281ead | |
parent | Merge pull request #6586 (diff) | |
download | monero-d745d2433356792f55ee50b4be3f7bcd97b1b495.tar.xz |
Don't forget size of prunable txn part
Fixes #6732
-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 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]++; |