From aa869e0b6a6cf0ebee577c0a106571c5a2a5fbcb Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 28 Feb 2017 14:10:45 -0800 Subject: [PATCH] fullnode: open http after walletdb. --- lib/node/fullnode.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/node/fullnode.js b/lib/node/fullnode.js index 79adf78c..db29af2e 100644 --- a/lib/node/fullnode.js +++ b/lib/node/fullnode.js @@ -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.'); });