Refresh list of pending transactions proposals after any events

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-07 12:22:05 -03:00
commit 431a66eeb2
6 changed files with 108 additions and 129 deletions

View file

@ -72,10 +72,6 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
if (controllerUtils.isFocusedWallet(wid)) return;
var w = $rootScope.iden.getWalletById(wid);
$scope.wallets.push(w);
controllerUtils.updateTxs({
wallet: w,
pending: true
});
controllerUtils.updateBalance(w, function() {
$rootScope.$digest();
})