Skip to content

Commit

Permalink
test: fix addTxSignatures test (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
bferenc authored Feb 16, 2024
1 parent d2c0e72 commit 4e618f6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/signer/addTxSignatures.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
),
Expand Down

0 comments on commit 4e618f6

Please sign in to comment.