refactor bws control on import

This commit is contained in:
Javier 2015-10-20 12:46:46 -03:00
commit 4042d04f1b
2 changed files with 17 additions and 33 deletions

View file

@ -441,9 +441,6 @@ angular.module('copayApp.services')
};
root.importLegacyWallet = function(username, password, blob, cb) {
if (opts.bwsurl)
bwcService.setBaseUrl(opts.bwsurl);
var walletClient = bwcService.getClient();
walletClient.createWalletFromOldCopay(username, password, blob, function(err, existed) {