We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8462b2e commit d522e13Copy full SHA for d522e13
2 files changed
routes/web3relay.js
@@ -28,7 +28,7 @@ if (!('gethPort' in config) || (typeof config.gethPort) !== 'number') {
28
}
29
//Look for config.json file if not
30
try {
31
- var configContents = fs.readFileSync('conf.json');
+ var configContents = fs.readFileSync('config.json');
32
config = JSON.parse(configContents);
33
console.log('CONFIG FOUND: Node:'+config.nodeAddr+' | Port:'+config.gethPort);
34
tools/stats.js
@@ -5,7 +5,7 @@
5
var Web3 = require('web3');
6
7
var mongoose = require( 'mongoose' );
8
-var BlockStat = require( '../db-stats.js' ).BlockStat;
+var BlockStat = require( '../db.js' ).BlockStat;
9
10
var updateStats = function(range, interval, rescan) {
11
var web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545'));
0 commit comments