diff --git a/README.md b/README.md index c6e9d23..14ee9aa 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,6 @@ As usual in Hubot, you can add all config as environment variables. | `KREDITS_WALLET_PATH` | Path to an Etherum wallet JSON file (default: `./wallet.json`) | | `KREDITS_WALLET_PASSWORD` | Wallet password | | `KREDITS_PROVIDER_URL` | Ethereum JSON-RPC URL (default: `http://localhost:7545`) | -| `KREDITS_NETWORK_ID` | The ethereum network ID to use (default: 100 = local) | ## Integrations diff --git a/index.js b/index.js index 10f35e2..c170bbf 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,6 @@ const Kredits = require('kredits-contracts'); const walletPath = process.env.KREDITS_WALLET_PATH || './wallet.json'; const walletJson = fs.readFileSync(walletPath); const providerUrl = process.env.KREDITS_PROVIDER_URL; -const networkId = parseInt(process.env.KREDITS_NETWORK_ID || 100); const ipfsConfig = { host: process.env.IPFS_API_HOST || 'localhost',