fix reference to remove transaction history
This commit is contained in:
parent
55668d1b90
commit
ee4d03f60e
1 changed files with 6 additions and 2 deletions
|
|
@ -326,6 +326,10 @@ angular.module('copayApp.services')
|
||||||
if (err) $log.warn(err);
|
if (err) $log.warn(err);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
storageService.removeTxHistory(walletId, function(err) {
|
||||||
|
if (err) $log.warn(err);
|
||||||
|
});
|
||||||
|
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
root.setWalletClients();
|
root.setWalletClients();
|
||||||
root.setAndStoreFocus(null, function() {
|
root.setAndStoreFocus(null, function() {
|
||||||
|
|
@ -361,7 +365,7 @@ angular.module('copayApp.services')
|
||||||
root.setWalletClients();
|
root.setWalletClients();
|
||||||
|
|
||||||
root.setAndStoreFocus(walletId, function() {
|
root.setAndStoreFocus(walletId, function() {
|
||||||
storageService.storeProfile(root.profile, function(err){
|
storageService.storeProfile(root.profile, function(err) {
|
||||||
return cb(err, walletId);
|
return cb(err, walletId);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue