From af237c5da701ea162e3163d6d7028f975732d936 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 30 Aug 2023 11:39:37 +0800 Subject: [PATCH] 1 --- webapp/controller/StakingController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/controller/StakingController.class.php b/webapp/controller/StakingController.class.php index 398bab41..1bbb9c55 100644 --- a/webapp/controller/StakingController.class.php +++ b/webapp/controller/StakingController.class.php @@ -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']; }