This commit is contained in:
Gabriel Bazán 2015-11-30 13:32:54 -03:00
commit 9aeb1ea4fd
3 changed files with 22 additions and 19 deletions

View file

@ -516,6 +516,15 @@ angular.module('copayApp.services')
});
};
root.storeDisclaimer = function(cb) {
storageService.getProfile(function(err, profile) {
profile.agreeDisclaimer = true;
storageService.storeProfile(profile, function() {
return cb(err);
});
});
}
root.importLegacyWallet = function(username, password, blob, cb) {
var walletClient = bwcService.getClient();