Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed May 15, 2024
1 parent 66a1dd7 commit 59221ab
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/astria-sequencer/src/transaction/checks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ pub(crate) async fn check_balance_for_total_fees<S: StateReadExt + 'static>(
from: Address,
state: &S,
) -> anyhow::Result<()> {
use std::collections::HashMap;

let transfer_fee = state
.get_transfer_base_fee()
.await
Expand Down Expand Up @@ -104,7 +102,8 @@ pub(crate) async fn check_balance_for_total_fees<S: StateReadExt + 'static>(
transfer_fee,
),
Action::Sequence(act) => {
sequence_update_fees(state, act.fee_asset_id, &mut fees_by_asset, &act.data).await?
sequence_update_fees(state, act.fee_asset_id, &mut fees_by_asset, &act.data)
.await?;
}
Action::Ics20Withdrawal(act) => ics20_withdrawal_updates_fees(
act.denom().id(),
Expand Down Expand Up @@ -134,7 +133,7 @@ pub(crate) async fn check_balance_for_total_fees<S: StateReadExt + 'static>(
&mut fees_by_asset,
transfer_fee,
)
.await?
.await?;
}
Action::ValidatorUpdate(_)
| Action::SudoAddressChange(_)
Expand Down

0 comments on commit 59221ab

Please sign in to comment.