mocha test passing on console
This commit is contained in:
parent
bcb61810d5
commit
eb9acb958f
7 changed files with 185 additions and 191 deletions
|
|
@ -1670,7 +1670,7 @@ Wallet.prototype.indexDiscovery = function(start, change, cosigner, gap, cb) {
|
|||
|
||||
Wallet.prototype.disconnect = function() {
|
||||
this.log('## DISCONNECTING');
|
||||
this.unlock();
|
||||
this.lock.release();
|
||||
this.network.disconnect();
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ WalletFactory.prototype._checkNetwork = function(inNetworkName) {
|
|||
|
||||
WalletFactory.prototype.open = function(walletId, passphrase) {
|
||||
this.storage._setPassphrase(passphrase);
|
||||
var w = this.read(walletId, opts);
|
||||
var w = this.read(walletId);
|
||||
if (w)
|
||||
w.store();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue