Closed LexProfi closed 3 years ago
What was the Solution?
What was the Solution?
Not sure if my problem is solved - I'm watching for now. I assume that the point is that when I initialized the object, I was executing the code:
account = restClient.getAccount();
then with some frequency:
assetBalances = account.getBalances();
Analyzing the code, I came to the conclusion that the account object also needs to be updated with some frequency. At the moment, I request anew in each period account from restClient.getAccount() - while everything says that the problem is solved
Good day! Please help - I am using the following code in my program:
Then I run the following code at regular intervals:
After a few passes, I no longer receive updated balance data. That is, my code is executed normally, it does not give any errors, but the data on balances is not up to date. After restarting the program, the data is updated normally for some time. With what it can be connected?