From 16761853f3dba0746d273d42aecfd93b6955a02d Mon Sep 17 00:00:00 2001 From: solidoracle Date: Wed, 15 May 2024 15:21:15 +0200 Subject: [PATCH] fix timestamp issue --- bulla-contracts/src/mappings/BullaFactoring.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/bulla-contracts/src/mappings/BullaFactoring.ts b/bulla-contracts/src/mappings/BullaFactoring.ts index 6675c93..30e046d 100644 --- a/bulla-contracts/src/mappings/BullaFactoring.ts +++ b/bulla-contracts/src/mappings/BullaFactoring.ts @@ -86,6 +86,7 @@ export function handleInvoiceUnfactored(event: InvoiceUnfactored): void { InvoiceUnfactoredEvent.logIndex = event.logIndex; InvoiceUnfactoredEvent.totalRefundAmount = ev.totalRefundAmount; InvoiceUnfactoredEvent.interestToCharge = ev.interestToCharge; + InvoiceUnfactoredEvent.timestamp = event.block.timestamp; original_creditor.factoringEvents = original_creditor.factoringEvents ? original_creditor.factoringEvents.concat([InvoiceUnfactoredEvent.id])