From ed2b272dc587f0b2de03c458622b6ed050a3b5e8 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 29 Aug 2023 16:13:17 +0800 Subject: [PATCH] 1 --- webapp/models/Staking.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/models/Staking.php b/webapp/models/Staking.php index 2ff7a44f..4a5350c4 100644 --- a/webapp/models/Staking.php +++ b/webapp/models/Staking.php @@ -246,7 +246,7 @@ class Staking extends BaseModel { return 1; } - public static function getDailyInterest($stakeTime) + private static function getDailyInterest($stakeTime) { $months = intval($stakeTime / 3600 / 24 / 30); if ($months <= 0) {