Skip to content

Commit 8accb4d

Browse files
author
Ivo Georgiev
committed
cargo fmt
1 parent a7083a9 commit 8accb4d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

validator_worker/src/core/fees.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ fn distribute_fee<'a>(
7777

7878
if fee_rounded > 0.into() {
7979
let addr = validator.fee_addr.as_ref().unwrap_or(&validator.id);
80-
let entry = balances
81-
.entry(addr.to_string())
82-
.or_insert_with(|| 0.into());
80+
let entry = balances.entry(addr.to_string()).or_insert_with(|| 0.into());
8381

8482
*entry += &fee_rounded;
8583
}

0 commit comments

Comments
 (0)