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}`)); }