From 1163efaac2a80fcb9fc4c5998aa6648dda09fb0e Mon Sep 17 00:00:00 2001 From: bferenc Date: Fri, 16 Feb 2024 19:27:51 +0100 Subject: [PATCH] test: fix addTxSignatures test --- src/signer/addTxSignatures.spec.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/signer/addTxSignatures.spec.ts b/src/signer/addTxSignatures.spec.ts index 08afd4419..939bf800d 100644 --- a/src/signer/addTxSignatures.spec.ts +++ b/src/signer/addTxSignatures.spec.ts @@ -74,14 +74,12 @@ describe('addTxSignatures', () => { expect(hasPubkeySpy).toHaveBeenNthCalledWith(3, unknownPublicKey); expect(addSignatureSpy).toHaveBeenCalledTimes(2); - expect(addSignatureSpy).toHaveBeenNthCalledWith( - 1, + expect(addSignatureSpy).toHaveBeenCalledWith( hexToBuffer( '0x7b3da43d8e4103d1078061872075cbcbb5de0108f3d897752c894757cf0e9c4113949ca2a5568483763e1fa0e74b4f4dd9b2a6e40909d0729f87c7dddfc1e70601', ), ); - expect(addSignatureSpy).toHaveBeenNthCalledWith( - 2, + expect(addSignatureSpy).toHaveBeenCalledWith( hexToBuffer( '0x04e2072e34fd5d7cc729afb8bfe7c5865754c3c448b9b3247b16cabbf06378393edf405274048bef74c02862ae032c0b86dda7c28bebf63f4d1de4f517bd710500', ),