fix(balance): proper balance reference used
This commit is contained in:
parent
069ba4d844
commit
a1b5a1094f
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ exports.fiatBalance = function fiatBalance(deviceFingerprint) {
|
||||||
|
|
||||||
// `balance.transferBalance` is the balance of our transfer account (the one
|
// `balance.transferBalance` is the balance of our transfer account (the one
|
||||||
// we use to send Bitcoins to clients) in satoshis.
|
// we use to send Bitcoins to clients) in satoshis.
|
||||||
var transferBalance = balance.transferBalance;
|
var transferBalance = lastBalances.transferBalance.BTC;
|
||||||
|
|
||||||
// Since `transferBalance` is in satoshis, we need to turn it into
|
// Since `transferBalance` is in satoshis, we need to turn it into
|
||||||
// bitcoins and then fiat to learn how much fiat currency we can exchange.
|
// bitcoins and then fiat to learn how much fiat currency we can exchange.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue