From f93491aa909264d1ddbb9e97b35487eb8b82de26 Mon Sep 17 00:00:00 2001 From: Frank Date: Mon, 13 Mar 2023 12:17:32 +0100 Subject: [PATCH] fixed rentduration for old lending event --- src/utils/helpers/diamond.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/helpers/diamond.ts b/src/utils/helpers/diamond.ts index 704c87c..f645100 100644 --- a/src/utils/helpers/diamond.ts +++ b/src/utils/helpers/diamond.ts @@ -841,6 +841,7 @@ export function updateGotchiLending( } lending.period = listingResult.period; + lending.rentDuration = listingResult.period; lending.splitOwner = BigInt.fromI32(listingResult.revenueSplit[0]); lending.splitBorrower = BigInt.fromI32(listingResult.revenueSplit[1]);