Browse Source
Merge pull request #712 from LN-Zap/fix/network-balance
fix(network): ensure accurate btc balance
renovate/lint-staged-8.x
Tom Kirkpatrick
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
3 deletions
-
app/components/Contacts/Network.js
|
|
@ -163,9 +163,12 @@ class Network extends Component { |
|
|
|
<section> |
|
|
|
<h2>My Network</h2> |
|
|
|
<span className={styles.channelAmount}> |
|
|
|
{btc.satoshisToBtc(balance.channelBalance)} {currencyName} ≈ ${usdAmount |
|
|
|
? usdAmount.toLocaleString() |
|
|
|
: ''} |
|
|
|
<Value |
|
|
|
value={balance.channelBalance} |
|
|
|
currency={ticker.currency} |
|
|
|
currentTicker={currentTicker} |
|
|
|
/> |
|
|
|
{` ≈ $${usdAmount ? usdAmount.toLocaleString() : ''}`} |
|
|
|
</span> |
|
|
|
</section> |
|
|
|
<section |
|
|
|