Remove unnecessary code

This commit is contained in:
Ivan Socolsky 2014-09-04 13:23:56 -03:00
parent eb59a7dce9
commit f9458aa4a1
2 changed files with 0 additions and 3 deletions

View File

@ -5,8 +5,6 @@ angular.module('copayApp.controllers').controller('AddressesController',
$scope.loading = false; $scope.loading = false;
var w = $rootScope.wallet; var w = $rootScope.wallet;
controllerUtils.updateAddressList();
$scope.newAddr = function() { $scope.newAddr = function() {
$scope.loading = true; $scope.loading = true;
w.generateAddress(null, function() { w.generateAddress(null, function() {

View File

@ -37,7 +37,6 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
$scope.refresh = function() { $scope.refresh = function() {
var w = $rootScope.wallet; var w = $rootScope.wallet;
w.sendWalletReady(); w.sendWalletReady();
controllerUtils.updateAddressList();
if ($rootScope.addrInfos.length > 0) { if ($rootScope.addrInfos.length > 0) {
controllerUtils.updateBalance(function() { controllerUtils.updateBalance(function() {
$rootScope.$digest(); $rootScope.$digest();