From 8eb18f1af8f95d0630eb3d4bd8ccb889d91d534d Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Tue, 13 Sep 2022 16:02:11 -0400 Subject: [PATCH] chore: fix flakey partialSign test --- web3.js/test/transaction.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3.js/test/transaction.test.ts b/web3.js/test/transaction.test.ts index c262b0db2b3284..9786384a2c2783 100644 --- a/web3.js/test/transaction.test.ts +++ b/web3.js/test/transaction.test.ts @@ -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();