Skip to content

Commit ab0c597

Browse files
committed
test(smart-wallet-integration): replace deprecated checkContractWallletSignature use
1 parent 1adbc62 commit ab0c597

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

packages/thirdweb/src/wallets/smart/smart-wallet-integration.test.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,12 @@ describe.runIf(process.env.TW_SECRET_KEY).sequential(
225225
client,
226226
});
227227
expect(isValidV1).toEqual(true);
228-
const isValidV2 = await checkContractWalletSignature({
228+
const isValidV2 = await verifySignature({
229229
message,
230230
signature,
231-
contract: getContract({
232-
address: newAccount.address,
233-
chain,
234-
client,
235-
}),
231+
address: newAccount.address,
232+
chain,
233+
client,
236234
});
237235
expect(isValidV2).toEqual(true);
238236

0 commit comments

Comments
 (0)