From c139af931f13bb41cc348131964364a7ee5ebd0d Mon Sep 17 00:00:00 2001 From: Valia Fetisov Date: Thu, 5 May 2022 15:40:38 +0200 Subject: [PATCH] update generateFakeAuction --- frontend/helpers/generateFakeAuction.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/helpers/generateFakeAuction.ts b/frontend/helpers/generateFakeAuction.ts index b8e6e4430..b19bb418c 100644 --- a/frontend/helpers/generateFakeAuction.ts +++ b/frontend/helpers/generateFakeAuction.ts @@ -47,6 +47,7 @@ export const generateFakeAuction = function () { transactionAddress: undefined, secondsBetweenPriceDrops, secondsTillNextPriceDrop, + collateralToCoverDebt: collateralAmount.multipliedBy(debtDAI.dividedBy(totalPrice)), minimumBidDai: new BigNumber(faker.finance.amount()), priceDropRatio: new BigNumber(faker.datatype.number({ min: 0.5, max: 1, precision: 0.0001 })), transactionGrossProfitDate: faker.date.future(),