From fadce3eea9205ef065dbc15944e78f74b338d600 Mon Sep 17 00:00:00 2001 From: Garvit Khatri Date: Mon, 11 Mar 2024 01:32:33 -0400 Subject: [PATCH] Have more explicit types --- .../accounts/biconomy/signerToBiconomySmartAccount.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/permissionless/accounts/biconomy/signerToBiconomySmartAccount.ts b/packages/permissionless/accounts/biconomy/signerToBiconomySmartAccount.ts index 611958cb..15c1bd16 100644 --- a/packages/permissionless/accounts/biconomy/signerToBiconomySmartAccount.ts +++ b/packages/permissionless/accounts/biconomy/signerToBiconomySmartAccount.ts @@ -272,7 +272,7 @@ export async function signerToBiconomySmartAccount< return toSmartAccount({ address: accountAddress, async signMessage({ message }) { - let signature = await signMessage(client, { + let signature: Hex = await signMessage(client, { account: viemSigner, message }) @@ -284,7 +284,7 @@ export async function signerToBiconomySmartAccount< } return encodeAbiParameters( [{ type: "bytes" }, { type: "address" }], - [signature as Hex, ecdsaModuleAddress] + [signature, ecdsaModuleAddress] ) }, async signTransaction(_, __) {