changing random uuid for wallet id
This commit is contained in:
parent
c099816e71
commit
c474cca890
3 changed files with 31 additions and 65 deletions
|
|
@ -268,11 +268,11 @@ angular.module('copayApp.services')
|
|||
root.checkQuota = function() {
|
||||
var block = '';
|
||||
// 50MB
|
||||
for (var i = 0; i < 1024*1024; ++ i){
|
||||
for (var i = 0; i < 1024 * 1024; ++i) {
|
||||
block += '12345678901234567890123456789012345678901234567890';
|
||||
}
|
||||
storage.set('test', block, function(err) {
|
||||
$log.error('CheckQuota Return:'+ err);
|
||||
$log.error('CheckQuota Return:' + err);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
@ -330,13 +330,5 @@ angular.module('copayApp.services')
|
|||
storage.remove('amazonGiftCards-' + network, cb);
|
||||
};
|
||||
|
||||
root.setAmazonUUID = function(network, uuid, cb) {
|
||||
storage.set('amazonUUID-' + network, uuid, cb);
|
||||
};
|
||||
|
||||
root.getAmazonUUID = function(network, cb) {
|
||||
storage.get('amazonUUID-' + network, cb);
|
||||
};
|
||||
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue