fix tests

This commit is contained in:
Matias Alejo Garcia 2016-06-06 19:09:57 -03:00
commit b17517ede0
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
12 changed files with 25 additions and 16 deletions

View file

@ -275,11 +275,11 @@ angular.module('copayApp.services')
};
root.removeAllWalletData = function(walletId, cb) {
storageService.clearLastAddress(walletId, function(err) {
root.clearLastAddress(walletId, function(err) {
if (err) return cb(err);
storageService.removeTxHistory(walletId, function(err) {
root.removeTxHistory(walletId, function(err) {
if (err) return cb(err);
storageService.clearBackupFlag(walletId, function(err) {
root.clearBackupFlag(walletId, function(err) {
return cb(err);
});
});