Add expected fee % diff to blocks list page

This commit is contained in:
Mononaut
2023-06-10 12:09:06 -04:00
parent bfb842d7ea
commit 93d24d1cf7
7 changed files with 44 additions and 14 deletions

View File

@@ -1033,6 +1033,7 @@ class BlocksRepository {
// Match rate is not part of the blocks table, but it is part of APIs so we must include it
extras.matchRate = null;
extras.expectedFees = null;
extras.expectedWeight = null;
if (config.MEMPOOL.AUDIT) {
const auditScore = await BlocksAuditsRepository.$getBlockAuditScore(dbBlk.id);
if (auditScore != null) {