Generate local priv key

This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-10 18:25:07 -03:00
commit 87535b3f24
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
5 changed files with 61 additions and 78 deletions

View file

@ -349,6 +349,18 @@ angular.module('copayApp.services')
storage.remove('bitpayDebitCards-' + network, cb);
};
root.setBitpayDebitCardSin = function(network, data, cb) {
storage.set('bitpayDebitCardSin-' + network, data, cb);
};
root.getBitpayDebitCardSin = function(network, cb) {
storage.get('bitpayDebitCardSin-' + network, cb);
};
root.removeBitpayDebitCardSin = function(network, cb) {
storage.remove('bitpayDebitCardSin-' + network, cb);
};
root.removeAllWalletData = function(walletId, cb) {
root.clearLastAddress(walletId, function(err) {
if (err) return cb(err);