Generate local priv key
This commit is contained in:
parent
b82bdaaafc
commit
87535b3f24
5 changed files with 61 additions and 78 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue