Skip to content

Commit 073eee7

Browse files
fix clippy lint
1 parent d9595c0 commit 073eee7

File tree

1 file changed

+1
-2
lines changed
  • aggregation_mode/src/backend

1 file changed

+1
-2
lines changed

aggregation_mode/src/backend/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ impl ProofAggregator {
192192

193193
let elapsed_seconds = U256::from(time_elapsed.as_secs());
194194

195-
let budget_available_per_second_in_wei =
196-
U256::from(monthly_budget_in_wei / SECONDS_PER_MONTH);
195+
let budget_available_per_second_in_wei = monthly_budget_in_wei / SECONDS_PER_MONTH;
197196

198197
budget_available_per_second_in_wei * elapsed_seconds
199198
}

0 commit comments

Comments
 (0)