Skip to content

Commit cc224f0

Browse files
committed
Fix unit test
1 parent e724bf1 commit cc224f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/transaction-controller/src/utils/validation.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ describe('validation', () => {
575575
},
576576
);
577577

578-
it('throws if yParity is not 0x or 0x1', () => {
578+
it('throws if yParity is not 0x0 or 0x1', () => {
579579
expect(() =>
580580
validateTxParams({
581581
authorizationList: [
@@ -590,7 +590,7 @@ describe('validation', () => {
590590
}),
591591
).toThrow(
592592
rpcErrors.invalidParams(
593-
`Invalid transaction params: yParity must be '0x' or '0x1'. got: 0x2`,
593+
`Invalid transaction params: yParity must be '0x0' or '0x1'. got: 0x2`,
594594
),
595595
);
596596
});

0 commit comments

Comments
 (0)