rename deprecated call
This commit is contained in:
parent
2958500875
commit
5d09bcc550
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue