Show balance of addresses. Remove filter noFractionNumber.
This commit is contained in:
parent
01b678457d
commit
cd33523b3f
3 changed files with 5 additions and 5 deletions
|
|
@ -44,7 +44,7 @@ angular.module('copayApp.controllers').controller('ReceiveController',
|
|||
|
||||
$scope.setAddressList = function() {
|
||||
var w = $rootScope.wallet;
|
||||
var balance = $rootScope.balanceByAddr;
|
||||
var balance = w.balanceInfo.balanceByAddr;
|
||||
|
||||
var addresses = w.getAddressesOrderer();
|
||||
if (addresses) {
|
||||
|
|
@ -58,7 +58,7 @@ angular.module('copayApp.controllers').controller('ReceiveController',
|
|||
list.push({
|
||||
'index': index,
|
||||
'address': address,
|
||||
'balance': balance ? balance[address] : 0,
|
||||
'balance': balance ? balance[address] : null,
|
||||
'isChange': w.addressIsChange(address),
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue