Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
fix: remove self of handle_fee
Browse files Browse the repository at this point in the history
  • Loading branch information
Subsegment committed Apr 23, 2024
1 parent a620040 commit 5851ce5
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 @@ -302,7 +302,6 @@ impl AccountTransaction {
}

fn handle_fee(
&self,
state: &mut dyn State,
tx_context: Arc<TransactionContext>,
actual_fee: Fee,
Expand Down Expand Up @@ -630,7 +629,7 @@ impl<S: StateReader> ExecutableTransaction<S> for AccountTransaction {
charge_fee,
)?;

let fee_transfer_call_info = self.handle_fee(state, tx_context, final_fee, charge_fee)?;
let fee_transfer_call_info = Self::handle_fee(state, tx_context, final_fee, charge_fee)?;

let tx_execution_info = TransactionExecutionInfo {
validate_call_info,
Expand Down

0 comments on commit 5851ce5

Please sign in to comment.