Skip to content

Commit

Permalink
Merge pull request #80 from aavegotchi/fix/rentDuration
Browse files Browse the repository at this point in the history
fixed rentduration for old lending event
  • Loading branch information
cinnabarhorse authored Mar 13, 2023
2 parents 0189fe3 + f93491a commit 7f2f10b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/helpers/diamond.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 7f2f10b

Please sign in to comment.