Skip to content

Commit

Permalink
Fix an issue in add-module-to-account.js
Browse files Browse the repository at this point in the history
  • Loading branch information
valar999 committed Jul 13, 2024
1 parent 97f9d3d commit 57d713a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/test/add-module-to-account.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ async function installModule({smartClient, beneficiaryAddress, timeout, moduleTy
const receipt = await bundlerClient.waitForUserOperationReceipt({ hash: opHash })
}

const { smartAccountClient, safeAccount, pimlicoBundlerClient, publicClient } = createSmartWallet({
const { smartAccountClient, safeAccount, pimlicoBundlerClient, publicClient } = await createSmartWallet({
privateKey: "<PK>",
bundlerUrl: "<bundlerUrl>"
bundlerUrl: "https://api.pimlico.io/v2/sepolia/rpc?apikey=<API_KEY>"
})

installModule({
Expand Down

0 comments on commit 57d713a

Please sign in to comment.