mirror of https://github.com/BTCPrivate/copay.git
fixes callback
This commit is contained in:
parent
597e9cec23
commit
a1441e0da8
|
@ -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…
Reference in New Issue