fullnode: open http after walletdb.

This commit is contained in:
Christopher Jeffrey 2017-02-28 14:10:45 -08:00
parent 21bc517f8b
commit aa869e0b6a
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -235,15 +235,14 @@ FullNode.prototype._open = co(function* open() {
yield this.mempool.open();
yield this.miner.open();
yield this.pool.open();
if (this.http)
yield this.http.open();
yield this.walletdb.open();
// Ensure primary wallet.
yield this.openWallet();
if (this.http)
yield this.http.open();
this.logger.info('Node is loaded.');
});