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 5d850dde99
commit d745d24333
No known key found for this signature in database
GPG key ID: FD2A70B44AB11BA7

View file

@ -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]++;