fixes callback

This commit is contained in:
Matias Alejo Garcia 2015-10-25 23:06:29 -03:00 committed by Gustavo Maximiliano Cortez
parent 597e9cec23
commit a1441e0da8
1 changed files with 3 additions and 1 deletions

View File

@ -338,7 +338,9 @@ angular.module('copayApp.services')
if (w) {
return cb(gettext('Wallet already in Copay' + ": ") + w.walletName);
}
root.storeData(walletClient, opts.bwsurl, cb);
root.storeData(walletClient, opts.bwsurl, function(err){
return cb(err, walletId);
});
};
root.importWallet = function(str, opts, cb) {