From 0f9ef08ff2090ff3bf954a741f7c54dc8aeca158 Mon Sep 17 00:00:00 2001 From: Miles Zhang Date: Tue, 20 Feb 2024 11:36:29 +0800 Subject: [PATCH] fix: ckb_hodl_wave's calcualte needs to use dao's c_i attribute (#1631) Signed-off-by: Miles Zhang --- app/models/daily_statistic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/daily_statistic.rb b/app/models/daily_statistic.rb index 56a764805..453058288 100644 --- a/app/models/daily_statistic.rb +++ b/app/models/daily_statistic.rb @@ -397,7 +397,7 @@ def liquidity one_week_to_one_month:, day_to_one_week:, latest_day:, - total_supply:, + total_supply: total_supply + burnt, }.transform_values { |value| (value.to_f / 10**8).truncate(8) } end