rwadurian/backend/services/mining-service
hailin 416495a398 fix(mining): correctly parse network-progress API response
The API returns {success: true, data: {...}} but code was accessing
progressResult.currentContributionPerTree directly instead of
progressResult.data.currentContributionPerTree.

This caused:
- totalTreeCount to be 0 (undefined → 0)
- networkTotalContribution to be 0
- No mining distributions happening

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 09:46:25 -08:00
..
prisma feat(mining): 实现系统账户和待解锁算力参与挖矿 2026-01-16 03:39:56 -08:00
src fix(mining): correctly parse network-progress API response 2026-01-17 09:46:25 -08:00
.env.example fix: correct totalShares and distributionPool values 2026-01-17 09:01:17 -08:00
DEVELOPMENT_GUIDE.md feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
Dockerfile fix(mining-service): 添加Dockerfile构建验证步骤 2026-01-14 03:45:51 -08:00
nest-cli.json feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
package-lock.json fix: update mining-service package-lock.json 2026-01-11 09:12:48 -08:00
package.json feat(mining): 实现每秒挖矿分配系统 2026-01-14 03:25:47 -08:00
tsconfig.json fix(mining-service): 添加tsconfig include/exclude配置修复构建 2026-01-14 03:48:18 -08:00