Skip to content

Commit

Permalink
Update crates/zksync/core/src/vm/runner.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Nisheeth Barthwal <[email protected]>
  • Loading branch information
Jrigada and nbaztec authored Oct 1, 2024
1 parent c8ef4cd commit 2a9416d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/zksync/core/src/vm/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ where
}
let max_fee_per_gas = fix_l2_gas_price(ecx.env.tx.gas_price.to_u256());

let is_paymaster_used = !paymaster_params.paymaster.is_zero();
let use_paymaster = !paymaster_params.paymaster.is_zero();

// We check if the paymaster is set, if it is not set, we use the proposed gas limit
let gas_limit = if is_paymaster_used {
Expand Down

0 comments on commit 2a9416d

Please sign in to comment.