This commit is contained in:
aozhiwei 2023-08-30 11:39:37 +08:00
parent c7fad8a5ce
commit af237c5da7

View File

@ -68,7 +68,7 @@ class StakingController extends BaseAuthedController {
}
$stackingInfo['staked_quant'] += $stakingDto['stacked_num'];
$stackingInfo['staking_value'] += $stakingDto['cec_value'];
$info['total_staking_value'] += $stakingDto['cec_value'] + $stackingInfo['total_rewards'];
$info['total_staking_value'] += $stakingDto['cec_value'] + $stakingDto['total_rewards'];
} else {
$stackingInfo['claim_rewards'] += $stakingDto['total_rewards'];
}