wallet: fix .loaded without storage
This commit is contained in:
parent
75c1152a2b
commit
abf34321f6
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user