wallet: fix .loaded without storage
This commit is contained in:
parent
75c1152a2b
commit
abf34321f6
@ -53,7 +53,7 @@ inherits(Wallet, EventEmitter);
|
|||||||
module.exports = Wallet;
|
module.exports = Wallet;
|
||||||
|
|
||||||
Wallet.prototype._init = function init() {
|
Wallet.prototype._init = function init() {
|
||||||
if (this.tx.loaded) {
|
if (this.tx._loaded) {
|
||||||
this.loaded = true;
|
this.loaded = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user