fix locked balance
This commit is contained in:
parent
e7e376801d
commit
5be9fbc47c
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ angular.module('copayApp.services')
|
|||
r.availableBalanceBTC = (safeBalanceSat / COIN);
|
||||
r.safeUnspentCount = safeUnspentCount;
|
||||
|
||||
r.lockedBalance = $filter('noFractionNumber')((balanceSat - safeBalanceSat) * satToUnit);
|
||||
var lockedBalance = (balanceSat - safeBalanceSat) * satToUnit;
|
||||
r.lockedBalance = lockedBalance ? $filter('noFractionNumber')(lockedBalance) : null;
|
||||
r.lockedBalanceBTC = (balanceSat - safeBalanceSat) / COIN;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue