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

chore: remove &self in AccountTransaction::handle_fee #1817

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -303,7 +303,6 @@ impl AccountTransaction {
}

fn handle_fee<S: StateReader>(
&self,
state: &mut TransactionalState<'_, S>,
tx_context: Arc<TransactionContext>,
actual_fee: Fee,
Expand Down Expand Up @@ -669,7 +668,7 @@ impl<S: StateReader> ExecutableTransaction<S> for AccountTransaction {
validate,
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
Loading