safe unspent
This commit is contained in:
parent
0523d99eda
commit
2fc3a8e8fa
5 changed files with 38 additions and 19 deletions
|
|
@ -10,8 +10,7 @@ angular.module('copay.addresses').controller('AddressesController',
|
|||
|
||||
var _updateBalance = function () {
|
||||
controllerUtils.setSocketHandlers();
|
||||
|
||||
w.getBalance(function (balance, balanceByAddr, isMain) {
|
||||
w.getBalance(true, function (balance, balanceByAddr, isMain) {
|
||||
if (balanceByAddr && Object.keys(balanceByAddr).length) {
|
||||
$rootScope.balanceByAddr = balanceByAddr;
|
||||
$scope.isMain = isMain;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue