We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4ba4fb commit e724bf1Copy full SHA for e724bf1
packages/transaction-controller/src/utils/validation.ts
@@ -535,9 +535,9 @@ function validateAuthorization(authorization: Authorization) {
535
536
const { yParity } = authorization;
537
538
- if (yParity && !['0x', '0x1'].includes(yParity)) {
+ if (yParity && !['0x0', '0x1'].includes(yParity)) {
539
throw rpcErrors.invalidParams(
540
- `Invalid transaction params: yParity must be '0x' or '0x1'. got: ${yParity}`,
+ `Invalid transaction params: yParity must be '0x0' or '0x1'. got: ${yParity}`,
541
);
542
}
543
0 commit comments