From d19cf4c4bbe79d8cc7680be34f82130da70112de Mon Sep 17 00:00:00 2001 From: hzmangel Date: Sat, 15 Mar 2025 21:40:56 +0800 Subject: [PATCH] Fix SCR calculation error The MintRewards haven't calcualted in the aggr scr page, this patch has fix this --- internal_inject/data_srv/data_srv.dto.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal_inject/data_srv/data_srv.dto.go b/internal_inject/data_srv/data_srv.dto.go index 01104486..8436826b 100644 --- a/internal_inject/data_srv/data_srv.dto.go +++ b/internal_inject/data_srv/data_srv.dto.go @@ -16,7 +16,7 @@ from applications where applications.type = 'NEW_REWARD' and applications.asset_name = 'SCR' and applications.state in ('completed') - and applications.sub_type IN (NULL ,'') + and applications.sub_type IN (NULL ,'', 'MintRewards') GROUP by season_id, target_user_wallet, seasons.name, season_idx` const MetaforoTotalCreditRatio = "0.05"