Skip to content

Commit

Permalink
y parity be explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
0xFirekeeper committed May 23, 2024
1 parent 735ebc3 commit 38ed94a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Thirdweb/Thirdweb.Wallets/EIP712.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private static string SerializeEip712(AccountAbstraction.ZkSyncAATransaction tra
transaction.Data == null ? new byte[0] : transaction.Data,
};

fields.Add(signature.IsVSignedForYParity() ? new byte[] { 0x1b } : new byte[] { });
fields.Add(signature.IsVSignedForYParity() ? new byte[] { 0x1b } : new byte[] { 0x1c });
fields.Add(signature.R);
fields.Add(signature.S);

Expand Down

0 comments on commit 38ed94a

Please sign in to comment.