fullnode: open http after walletdb.
This commit is contained in:
parent
21bc517f8b
commit
aa869e0b6a
@ -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.');
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user