refactor baseUrl in angular-bwc

This commit is contained in:
Matias Alejo Garcia 2016-06-01 15:49:20 -03:00
commit 6bd316424a
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
4 changed files with 21 additions and 43 deletions

View file

@ -173,6 +173,14 @@ angular.module('copayApp.services')
storage.remove('backup-' + walletId, cb);
};
root.setDerivationTestFlag = function(walletId, ua, cb) {
storage.set('DerivationTest-'+walletId+ua.replace(' ', ''), true, cb);
};
root.getDerivationTestFlag = function(walletId, ua, cb) {
storage.get('DerivationTest-'+walletId+ua.replace(' ', ''), cb);
};
root.setCleanAndScanAddresses = function(walletId, cb) {
storage.set('CleanAndScanAddresses', walletId, cb);
};