This commit is contained in:
aozhiwei 2024-08-06 16:16:45 +08:00
parent 1548872505
commit d4120df25c

View File

@ -419,10 +419,10 @@ class Staking extends BaseModel {
}
$stackingInfo['staked_quant'] += $stakingDto['stacked_num'];
$stackingInfo['staking_value'] += $stakingDto['cec_value'];
$info['total_staking_value'] += $stakingDto['cec_value'] + $stakingDto['total_rewards'];
//$info['total_staking_value'] += $stakingDto['cec_value'] + $stakingDto['total_rewards'];
} else {
$stackingInfo['claim_rewards'] += $stakingDto['total_rewards'];
//$info['total_staking_value'] += $stakingDto['cec_value'] + $stakingDto['total_rewards'];
$info['total_staking_value'] += $stakingDto['cec_value'] + $stakingDto['total_rewards'];
}
}
}