fix create and join bws errors
This commit is contained in:
parent
808c7f74a5
commit
3d7132861d
7 changed files with 73 additions and 82 deletions
|
|
@ -35,16 +35,16 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
|
|||
this.bwsurl = bws;
|
||||
}
|
||||
|
||||
var opts = {
|
||||
bws: {}
|
||||
};
|
||||
opts.bws[walletId] = this.bwsurl;
|
||||
var opts = {
|
||||
bws: {}
|
||||
};
|
||||
opts.bws[walletId] = this.bwsurl;
|
||||
|
||||
configService.set(opts, function(err) {
|
||||
if (err) console.log(err);
|
||||
storageService.setCleanAndScanAddresses(function() {
|
||||
applicationService.restart();
|
||||
configService.set(opts, function(err) {
|
||||
if (err) console.log(err);
|
||||
storageService.setCleanAndScanAddresses(walletId, function() {
|
||||
applicationService.restart();
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue