Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Jul 16, 2024
1 parent 426bf31 commit 98b8015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/katana/executor/src/implementation/blockifier/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub fn transact<S: StateReader>(
// these cases, we still want to calculate the fee.
let fee = if info.transaction_receipt.fee == Fee(0) {
get_fee_by_gas_vector(
&block_context.block_info(),
block_context.block_info(),
info.transaction_receipt.gas,
&fee_type,
)
Expand Down Expand Up @@ -403,7 +403,7 @@ pub(super) fn state_update_from_cached_state<S: StateDb>(
FlattenedSierraClass,
> = HashMap::new();

for (class_hash, _) in &state_diff.compiled_class_hashes {
for class_hash in state_diff.compiled_class_hashes.keys() {
let hash = class_hash.0;
let class = state.class(hash).unwrap().expect("must exist if declared");

Expand Down

0 comments on commit 98b8015

Please sign in to comment.