wallet: fix .loaded without storage

This commit is contained in:
Fedor Indutny 2014-05-15 13:31:56 +04:00
parent 75c1152a2b
commit abf34321f6

View File

@ -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;
}