Skip to content

Commit

Permalink
fix: remove &self arg from AccountTransaction::handle_fee
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelabro committed Jul 31, 2024
1 parent 0a4d9c2 commit 6a74ce0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/blockifier/src/transaction/account_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ impl AccountTransaction {
}

fn handle_fee<S: StateReader>(
&self,
state: &mut TransactionalState<'_, S>,
tx_context: Arc<TransactionContext>,
actual_fee: Fee,
Expand Down Expand Up @@ -682,7 +681,7 @@ impl<U: UpdatableState> ExecutableTransaction<U> for AccountTransaction {
execution_flags.validate,
execution_flags.charge_fee,
)?;
let fee_transfer_call_info = self.handle_fee(
let fee_transfer_call_info = Self::handle_fee(
state,
tx_context,
final_fee,
Expand Down

0 comments on commit 6a74ce0

Please sign in to comment.