File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
mobile_verifier/tests/integrations/common Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ use solana::Token;
2929use sqlx:: PgPool ;
3030use std:: {
3131 collections:: { HashMap , HashSet } ,
32- str:: FromStr ,
3332 sync:: Arc ,
3433} ;
3534use tokio:: { sync:: RwLock , time:: Timeout } ;
@@ -87,7 +86,6 @@ pub trait RadioRewardV2Ext {
8786 fn nth_boosted_hex ( & self , index : usize ) -> radio_reward_v2:: CoveredHex ;
8887 fn boosted_hexes_len ( & self ) -> usize ;
8988 fn total_poc_reward ( & self ) -> u64 ;
90- fn total_coverage_points ( & self ) -> u64 ;
9189}
9290
9391impl RadioRewardV2Ext for RadioRewardV2 {
@@ -117,16 +115,6 @@ impl RadioRewardV2Ext for RadioRewardV2 {
117115 fn total_poc_reward ( & self ) -> u64 {
118116 self . base_poc_reward + self . boosted_poc_reward
119117 }
120-
121- fn total_coverage_points ( & self ) -> u64 {
122- let base = self . base_coverage_points_sum . clone ( ) . unwrap_or_default ( ) ;
123- let boosted = self . boosted_coverage_points_sum . clone ( ) . unwrap_or_default ( ) ;
124-
125- let base = Decimal :: from_str ( & base. value ) . expect ( "decoding base cp" ) ;
126- let boosted = Decimal :: from_str ( & boosted. value ) . expect ( "decoding boosted cp" ) ;
127-
128- ( base + boosted) . to_u64 ( ) . unwrap ( )
129- }
130118}
131119
132120pub struct MockHexBoostDataAssignment {
You can’t perform that action at this time.
0 commit comments