diff --git a/packages/indexer-common/src/indexing-fees/__tests__/dips.test.ts b/packages/indexer-common/src/indexing-fees/__tests__/dips.test.ts index 735a67631..afa116d44 100644 --- a/packages/indexer-common/src/indexing-fees/__tests__/dips.test.ts +++ b/packages/indexer-common/src/indexing-fees/__tests__/dips.test.ts @@ -451,17 +451,17 @@ describe('DipsCollector', () => { status: CollectPaymentStatus.ACCEPT, tapReceipt: Buffer.from('1234', 'hex'), }) - ;(decodeTapReceipt as jest.Mock) - .mockReturnValue({ - allocation_id: toAddress(testAllocationId), - signer_address: toAddress('0xabcd56df41234949a75a6693c77834c00b8abbbb'), - signature: Buffer.from('1234', 'hex'), - timestamp_ns: 1234567890, - nonce: 1, - value: '1000', - }) - ;(getEscrowSenderForSigner as jest.Mock) - .mockResolvedValue(toAddress('0x123456df40c29949a75a6693c77834c00b8a5678')) + ;(decodeTapReceipt as jest.Mock).mockReturnValue({ + allocation_id: toAddress(testAllocationId), + signer_address: toAddress('0xabcd56df41234949a75a6693c77834c00b8abbbb'), + signature: Buffer.from('1234', 'hex'), + timestamp_ns: 1234567890, + nonce: 1, + value: '1000', + }) + ;(getEscrowSenderForSigner as jest.Mock).mockResolvedValue( + toAddress('0x123456df40c29949a75a6693c77834c00b8a5678'), + ) await dipsCollector.tryCollectPayment(agreement)