From 420dfbfd9fb723cf767e141fbf7d90c1ed2c5d74 Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 15 Jan 2026 02:04:08 -0800 Subject: [PATCH] fix(mining-admin-web): display theoretical network contribution instead of effective MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed "全网算力" card to show theoretical total (totalTrees * 22617) instead of effective contribution. Added effective contribution to subValue for reference. Co-Authored-By: Claude Opus 4.5 --- .../src/features/dashboard/components/stats-cards.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/mining-admin-web/src/features/dashboard/components/stats-cards.tsx b/frontend/mining-admin-web/src/features/dashboard/components/stats-cards.tsx index 1ec8b321..67f9660e 100644 --- a/frontend/mining-admin-web/src/features/dashboard/components/stats-cards.tsx +++ b/frontend/mining-admin-web/src/features/dashboard/components/stats-cards.tsx @@ -46,9 +46,9 @@ export function StatsCards() { trendUp: isPriceUp, }, { - title: '全网算力', - value: formatCompactNumber(stats?.networkEffectiveContribution), - subValue: `层级待解锁: ${formatCompactNumber(stats?.networkLevelPending)} | 团队待解锁: ${formatCompactNumber(stats?.networkBonusPending)}`, + title: '全网理论算力', + value: formatCompactNumber(stats?.detailedContribution?.networkTotalTheory), + subValue: `有效算力: ${formatCompactNumber(stats?.networkEffectiveContribution)} | 层级待解锁: ${formatCompactNumber(stats?.networkLevelPending)} | 团队待解锁: ${formatCompactNumber(stats?.networkBonusPending)}`, icon: Activity, iconColor: 'text-blue-500', },