From 692ac78f0a1e086c6e59d6f029c523255bb5c7fe Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 5 Dec 2024 10:06:27 -0800 Subject: [PATCH] only store blocks elsewhere --- src/scraper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scraper.js b/src/scraper.js index 79273ed..63dd2a0 100644 --- a/src/scraper.js +++ b/src/scraper.js @@ -154,7 +154,7 @@ class Scrape extends Collection { txDate: timestamp } writeToDatabase(q) - .then((_) => this.writeLastBlock(tx.blockNumber)) + // .then((_) => this.writeLastBlock(tx.blockNumber)) .catch((err) => console.log(`Error writing to database: ${err}`)); }); } @@ -301,7 +301,7 @@ class Scrape extends Collection { }) .catch((err) => console.log(`Error posting to Discord: ${err}`)); } - this.writeLastBlock(log.blockNumber); + // this.writeLastBlock(log.blockNumber); }) .catch((err) => console.log(`Error writing to database: ${err}`)); }