Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
plusminushalf authored and github-actions[bot] committed Mar 11, 2024
1 parent e0381d2 commit 598bb44
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,8 @@ export async function signerToBiconomySmartAccount<
const potentiallyIncorrectV = parseInt(signature.slice(-2), 16)
if (![27, 28].includes(potentiallyIncorrectV)) {
const correctV = potentiallyIncorrectV + 27
signature = (signature.slice(0, -2) + correctV.toString(16)) as Hex
signature = (signature.slice(0, -2) +
correctV.toString(16)) as Hex
}
return encodeAbiParameters(
[{ type: "bytes" }, { type: "address" }],
Expand Down

0 comments on commit 598bb44

Please sign in to comment.