fixes callback
This commit is contained in:
parent
597e9cec23
commit
a1441e0da8
1 changed files with 3 additions and 1 deletions
|
|
@ -338,7 +338,9 @@ angular.module('copayApp.services')
|
||||||
if (w) {
|
if (w) {
|
||||||
return cb(gettext('Wallet already in Copay' + ": ") + w.walletName);
|
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) {
|
root.importWallet = function(str, opts, cb) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue