diff --git a/index.js b/index.js index 9afd396..f4a1e66 100644 --- a/index.js +++ b/index.js @@ -84,7 +84,7 @@ app.post('/relay', async (req, resp) => { app.listen(8000) -if (netId === 1) { +if (Number(netId) === 1) { fetchGasPrice({ gasPrices }) console.log('Gas price oracle started.') }