mirror of https://github.com/BTCPrivate/copay.git
Add explicit call to updateAddressList
This commit is contained in:
parent
a0c7d2cb66
commit
cf3703e8ab
|
@ -5,6 +5,8 @@ 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,6 +37,7 @@ 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