env: minor.

This commit is contained in:
Christopher Jeffrey 2016-08-23 06:42:31 -07:00
parent 23f9e543be
commit 581e4e3ce5
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -170,19 +170,20 @@ function Environment() {
this.account = this.wallet.Account;
this.walletdb = require('./walletdb');
this.path = this.walletdb.Path;
this.provider = this.walletdb.Provider;
this.peer = require('./peer');
this.pool = require('./pool');
this.miner = require('./miner');
this.minerblock = this.miner.MinerBlock;
this.http = require('./http');
this.workers = require('./workers');
this.sc = require('./sigcache');
this.sigcache = require('./sigcache')(0);
this.sigcache = new this.sc(0);
this.time = new this.timedata();
this.defaultLogger = new this.logger('none');
this.useWorkers = false;
this.workerPool = new this.workers();
this.useWorkers = false;
this.master = null;
this.set({