fix(balance): proper balance reference used

This commit is contained in:
Damian Mee 2014-08-22 23:56:14 +02:00
parent 069ba4d844
commit a1b5a1094f

View file

@ -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.