Skip to content

Commit abe06b3

Browse files
committed
run formatter
1 parent 4dbf7df commit abe06b3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mobile_verifier/src/reward_shares.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,9 +581,7 @@ impl CalculatedPocRewardShares {
581581
allocated_rewards: DataTransferAndPocAllocatedRewardBuckets,
582582
radios: impl Iterator<Item = &'a coverage_point_calculator::CoveragePoints>,
583583
) -> Option<Self> {
584-
let total_points = radios
585-
.map(|radio| radio.total_shares())
586-
.sum::<Decimal>();
584+
let total_points = radios.map(|radio| radio.total_shares()).sum::<Decimal>();
587585

588586
if total_points.is_zero() {
589587
return None;

0 commit comments

Comments
 (0)