diff --git a/examples/SafeAccountExamples/CreateAccountAndSendTransactionUsingSponsorPaymaster/src/index.ts b/examples/SafeAccountExamples/CreateAccountAndSendTransactionUsingSponsorPaymaster/src/index.ts index bf32f2a..a0774d1 100644 --- a/examples/SafeAccountExamples/CreateAccountAndSendTransactionUsingSponsorPaymaster/src/index.ts +++ b/examples/SafeAccountExamples/CreateAccountAndSendTransactionUsingSponsorPaymaster/src/index.ts @@ -7,7 +7,6 @@ import { CandidePaymaster, getFunctionSelector, createCallData, - UserOperationV7 } from "abstractionkit"; async function main(): Promise { @@ -75,7 +74,7 @@ async function main(): Promise { let [paymasterUserOperation, _sponsorMetadata] = await paymaster.createSponsorPaymasterUserOperation( userOperation, bundlerUrl) - userOperation = paymasterUserOperation as UserOperationV7; + userOperation = paymasterUserOperation; const cost = calculateUserOperationMaxGasCost(userOperation)