update README.md and quiet down logs
This commit is contained in:
@ -27,7 +27,7 @@ export const subToBlockHeaders = (setDiscordStatus: () => Promise<void>) => {
|
||||
web3.eth.getGasPrice((error, gasPrice) => {
|
||||
if (error) console.error(error);
|
||||
|
||||
console.log('Gas price in wei:', gasPrice);
|
||||
if (shouldSetStatus) console.log('Gas price in wei:', gasPrice);
|
||||
|
||||
redisClient.set('gas-price', Math.round(Number(gasPrice)))
|
||||
});
|
||||
|
@ -1,3 +1,9 @@
|
||||
/* This program is free software. It comes without any warranty, to
|
||||
* the extent permitted by applicable law. You can redistribute it
|
||||
* and/or modify it under the terms of the Do What The Fuck You Want
|
||||
* To Public License, Version 2, as published by Sam Hocevar. See
|
||||
* http://www.wtfpl.net/ for more details. */
|
||||
|
||||
import 'dotenv/config.js';
|
||||
import fs from 'node:fs';
|
||||
import path from 'node:path';
|
||||
|
Reference in New Issue
Block a user