Skip to content

Commit

Permalink
remove await
Browse files Browse the repository at this point in the history
  • Loading branch information
imx-mikhala committed Jul 1, 2024
1 parent d07e373 commit 60a2995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/passport/sdk/src/zkEvm/personalSign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const personalSign = async ({
}

// Convert message into a string if it's a hex
const payload = await hexToString(message);
const payload = hexToString(message);
const { chainId } = await rpcProvider.detectNetwork();
flow.addEvent('endDetectNetwork');
const chainIdBigNumber = BigNumber.from(chainId);
Expand Down

0 comments on commit 60a2995

Please sign in to comment.