fix(wallet): settle 时清除 pending_expire_at 避免残留倒计时

settleUserPendingRewards 全量结算后 pendingUsdt=0,
但 pendingExpireAt 未清除导致 API 仍返回过期时间。
与 expirePendingReward/claimRewards 行为保持一致。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-01 09:52:19 -08:00
parent 8e52535dd9
commit ecaaf68a27
1 changed files with 2 additions and 0 deletions

View File

@ -2431,6 +2431,8 @@ export class WalletApplicationService {
// 同时减少 pending 余额 // 同时减少 pending 余额
pendingUsdt: { decrement: totalUsdt }, pendingUsdt: { decrement: totalUsdt },
pendingHashpower: { decrement: totalHashpower }, pendingHashpower: { decrement: totalHashpower },
// [2026-03-01] 清除过期时间,避免前端残留倒计时
pendingExpireAt: null,
}, },
}); });