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;