Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onAddressesChecked callback doesn't get triggered anymore after calling resyncBlockchain for Monero wallets #6

Open
westerly opened this issue Aug 21, 2018 · 0 comments

Comments

@westerly
Copy link

Hi,

I am experiencing an issue with the monero plugin after calling the resyncBlockchain function on my Monero Wallets.

Here is my use case: I want to clear out my wallet from all the coins that have been sent to it. To make sure I have the full transaction history I call resyncBlockchain to start pulling all the transactions from the network before spending anything.

Then I monitor the syncing progress with the onAddressesChecked callback. However these callbacks don't get triggered anymore for my Monero wallets only. They do work just after I login to my account through the SDK. Debugging the resyncBlockchain function in the monero plugin there is something weird happening in the loginInnerLoop function:

screen shot 2018-08-20 at 6 02 04 pm

The variable loggedIn is true even though killEngine was called before in the resyncBlockchain function. Because of that the onAddressesChecked don't get added to the loop.

I could not find why that variable would be true but happy to help in debugging this further!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant