Don't forget size of prunable txn part

Fixes #6732
This commit is contained in:
Howard Chu 2020-08-01 13:40:50 +01:00
parent c9aad8a38b
commit 2f481da900
No known key found for this signature in database
GPG Key ID: FD2A70B44AB11BA7
1 changed files with 2 additions and 0 deletions

View File

@ -275,6 +275,8 @@ skip:
return 1; return 1;
} }
currsz += bd.size(); currsz += bd.size();
if (db->get_prunable_tx_blob(tx_id, bd))
currsz += bd.size();
currtxs++; currtxs++;
if (do_hours) if (do_hours)
txhr[currtm.tm_hour]++; txhr[currtm.tm_hour]++;