changing random uuid for wallet id

This commit is contained in:
Gabriel Bazán 2016-07-29 12:46:41 -03:00 committed by Gustavo Maximiliano Cortez
commit c474cca890
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 31 additions and 65 deletions

View file

@ -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;
});