From 6570b5b013b4d398bf5b9715c0b2c9cb88f14b97 Mon Sep 17 00:00:00 2001 From: Franco Schiavinato Date: Wed, 6 Mar 2024 10:40:29 -0300 Subject: [PATCH] format fix --- examples/trader.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/trader.ts b/examples/trader.ts index 63e3bc8f..48463794 100644 --- a/examples/trader.ts +++ b/examples/trader.ts @@ -151,7 +151,9 @@ async function lend(gondi: Gondi, collections: Collection[]) { const nfts = (await gondi.ownedNfts()).ownedNfts; if (nfts.length == 0) return; const nft = nfts[Math.floor(Math.random() * nfts.length)]; - const { offers } = await gondi.offers({ filterBy: { nft: Number(nft.id), status: [OfferStatus.Active] } }); + const { offers } = await gondi.offers({ + filterBy: { nft: Number(nft.id), status: [OfferStatus.Active] }, + }); let skipOffers = Math.random() * offers.length; for (const offer of offers) { if (--skipOffers >= 0) continue;