Skip to content

Commit abf3b55

Browse files
fix passkey tutorial
1 parent 298b044 commit abf3b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/tutorials/use-passkey-as-backup-signer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const webAuthnAccount = toWebAuthnAccount({ credential })
178178
const smartAccount = await toMetaMaskSmartAccount({
179179
client: publicClient,
180180
implementation: Implementation.Hybrid,
181-
deployParams: [owner, [credential.id], [publicKey.x], [publicKey.y]],
181+
deployParams: [owner, [toHex(credential.id)], [publicKey.x], [publicKey.y]],
182182
deploySalt: '0x',
183183
signer: { webAuthnAccount, keyId: toHex(credential.id) },
184184
})

0 commit comments

Comments
 (0)