Add average fee delta to pool ranking

Co-authored-by: mononaut <83316221+mononaut@users.noreply.github.com>
This commit is contained in:
Joost Jagerandmononaut committed 2023-07-04 11:25:39 +00:00
1 parent 3d33233e51
commit 9e5d10b15f
6 files changed
+28 -4

No files matched your search

+1
View File
@@ -106,6 +106,7 @@ class Mining {
emptyBlocks: emptyBlocksCount.length > 0 ? emptyBlocksCount[0]['count'] : 0,
slug: poolInfo.slug,
avgMatchRate: poolInfo.avgMatchRate !== null ? Math.round(100 * poolInfo.avgMatchRate) / 100 : null,
avgFeeDelta: poolInfo.avgFeeDelta,
};
poolsStats.push(poolStat);
});