Skip to content

Commit

Permalink
Have more explicit types
Browse files Browse the repository at this point in the history
  • Loading branch information
plusminushalf committed Mar 11, 2024
1 parent 598bb44 commit fadce3e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand All @@ -284,7 +284,7 @@ export async function signerToBiconomySmartAccount<
}
return encodeAbiParameters(
[{ type: "bytes" }, { type: "address" }],
[signature as Hex, ecdsaModuleAddress]
[signature, ecdsaModuleAddress]
)
},
async signTransaction(_, __) {
Expand Down

0 comments on commit fadce3e

Please sign in to comment.