Skip to content

Commit

Permalink
Update Utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
forshtat authored Oct 23, 2024
1 parent c26a876 commit 12c4aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export function sum (...args: BigNumberish[]): BigNumber {
* the cost is the sum of the verification gas limits and call gas limit, multiplied by the maxFeePerGas.
* @param userOp
*/
export function getUserOpMaxCost (userOp: UserOperation): BigNumber {
export function getUserOpMaxCost (userOp: OperationBase): BigNumber {
const preVerificationGas: BigNumberish = (userOp as UserOperation).preVerificationGas
return sum(
preVerificationGas ?? 0,
Expand Down

0 comments on commit 12c4aaa

Please sign in to comment.