rename deprecated call

This commit is contained in:
Alex Grintsvayg 2017-06-01 14:39:28 -04:00
parent 2958500875
commit 5d09bcc550

View file

@ -318,7 +318,7 @@ lbry._balanceSubscribeInterval = 5000;
lbry._balanceUpdateInterval = null; lbry._balanceUpdateInterval = null;
lbry._updateBalanceSubscribers = function() { lbry._updateBalanceSubscribers = function() {
lbry.get_balance().then(function(balance) { lbry.wallet_balance().then(function(balance) {
for (let callback of Object.values(lbry._balanceSubscribeCallbacks)) { for (let callback of Object.values(lbry._balanceSubscribeCallbacks)) {
callback(balance); callback(balance);
} }