Skip to content

Commit d522e13

Browse files
committed
update for recent change
1 parent 8462b2e commit d522e13

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

routes/web3relay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if (!('gethPort' in config) || (typeof config.gethPort) !== 'number') {
2828
}
2929
//Look for config.json file if not
3030
try {
31-
var configContents = fs.readFileSync('conf.json');
31+
var configContents = fs.readFileSync('config.json');
3232
config = JSON.parse(configContents);
3333
console.log('CONFIG FOUND: Node:'+config.nodeAddr+' | Port:'+config.gethPort);
3434
}

tools/stats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
var Web3 = require('web3');
66

77
var mongoose = require( 'mongoose' );
8-
var BlockStat = require( '../db-stats.js' ).BlockStat;
8+
var BlockStat = require( '../db.js' ).BlockStat;
99

1010
var updateStats = function(range, interval, rescan) {
1111
var web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545'));

0 commit comments

Comments
 (0)