Skip to content

Commit 50efe9a

Browse files
committed
chore: cargo fmt
1 parent a1bbd16 commit 50efe9a

File tree

1 file changed

+7
-3
lines changed
  • batcher/aligned-batcher/src

1 file changed

+7
-3
lines changed

batcher/aligned-batcher/src/lib.rs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ impl Batcher {
782782
addr,
783783
user_balance,
784784
user_accumulated_fee,
785-
msg_max_fee
785+
msg_max_fee,
786786
)
787787
.await;
788788

@@ -898,8 +898,12 @@ impl Batcher {
898898
return;
899899
}
900900

901-
// For a replacement msg we must subtract the original_max_fee of the message from the user's accumulated max fee.
902-
if !self.verify_user_has_enough_balance(user_balance, user_accumulated_fee - original_max_fee, msg_max_fee) {
901+
// For a replacement msg we must subtract the original_max_fee of the message from the user's accumulated max fee.
902+
if !self.verify_user_has_enough_balance(
903+
user_balance,
904+
user_accumulated_fee - original_max_fee,
905+
msg_max_fee,
906+
) {
903907
std::mem::drop(batch_state_lock);
904908
send_message(
905909
ws_conn_sink.clone(),

0 commit comments

Comments
 (0)