This commit is contained in:
aozhiwei 2023-08-29 17:46:00 +08:00
parent 71fbfeb5dd
commit d98ea8c2a7

View File

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