Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit 8eb18f1

Browse files
committed
chore: fix flakey partialSign test
1 parent c345981 commit 8eb18f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web3.js/test/transaction.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ describe('Transaction', () => {
418418
expect(partialTransaction).to.eql(transaction);
419419

420420
invariant(partialTransaction.signatures[0].signature);
421-
partialTransaction.signatures[0].signature[0] = 0;
421+
partialTransaction.signatures[0].signature.fill(1);
422422
expect(() =>
423423
partialTransaction.serialize({requireAllSignatures: false}),
424424
).to.throw();

0 commit comments

Comments
 (0)