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:
parent
8e52535dd9
commit
ecaaf68a27
|
|
@ -2431,6 +2431,8 @@ export class WalletApplicationService {
|
|||
// 同时减少 pending 余额
|
||||
pendingUsdt: { decrement: totalUsdt },
|
||||
pendingHashpower: { decrement: totalHashpower },
|
||||
// [2026-03-01] 清除过期时间,避免前端残留倒计时
|
||||
pendingExpireAt: null,
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue