From abf34321f67e79986e2dbfa2aac1e0f6e2933c73 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Thu, 15 May 2014 13:31:56 +0400 Subject: [PATCH] wallet: fix .loaded without storage --- lib/bcoin/wallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/wallet.js b/lib/bcoin/wallet.js index 29764e32..6051fdc1 100644 --- a/lib/bcoin/wallet.js +++ b/lib/bcoin/wallet.js @@ -53,7 +53,7 @@ inherits(Wallet, EventEmitter); module.exports = Wallet; Wallet.prototype._init = function init() { - if (this.tx.loaded) { + if (this.tx._loaded) { this.loaded = true; return; }