Skip to content

Commit

Permalink
chore: fix flakey partialSign test
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry committed Sep 13, 2022
1 parent c345981 commit 8eb18f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web3.js/test/transaction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ describe('Transaction', () => {
expect(partialTransaction).to.eql(transaction);

invariant(partialTransaction.signatures[0].signature);
partialTransaction.signatures[0].signature[0] = 0;
partialTransaction.signatures[0].signature.fill(1);
expect(() =>
partialTransaction.serialize({requireAllSignatures: false}),
).to.throw();
Expand Down

0 comments on commit 8eb18f1

Please sign in to comment.