diff --git a/lib/plugins.js b/lib/plugins.js index 81f7ebbd..426095a3 100644 --- a/lib/plugins.js +++ b/lib/plugins.js @@ -184,7 +184,7 @@ exports.fiatBalance = function fiatBalance(deviceFingerprint) { // `balance.transferBalance` is the balance of our transfer account (the one // 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 // bitcoins and then fiat to learn how much fiat currency we can exchange.