mirror of https://github.com/BTCPrivate/copay.git
Remove unnecessary code
This commit is contained in:
parent
eb59a7dce9
commit
f9458aa4a1
|
@ -5,8 +5,6 @@ angular.module('copayApp.controllers').controller('AddressesController',
|
|||
$scope.loading = false;
|
||||
var w = $rootScope.wallet;
|
||||
|
||||
controllerUtils.updateAddressList();
|
||||
|
||||
$scope.newAddr = function() {
|
||||
$scope.loading = true;
|
||||
w.generateAddress(null, function() {
|
||||
|
|
|
@ -37,7 +37,6 @@ angular.module('copayApp.controllers').controller('SidebarController', function(
|
|||
$scope.refresh = function() {
|
||||
var w = $rootScope.wallet;
|
||||
w.sendWalletReady();
|
||||
controllerUtils.updateAddressList();
|
||||
if ($rootScope.addrInfos.length > 0) {
|
||||
controllerUtils.updateBalance(function() {
|
||||
$rootScope.$digest();
|
||||
|
|
Loading…
Reference in New Issue