monero-ts icon indicating copy to clipboard operation
monero-ts copied to clipboard

`startSyncing` does not allow to save wallet until sync completes

Open mainnet-pat opened this issue 10 months ago • 1 comments

If I install a listener for wallet sync and try to save the wallet periodically while it syncing (so that the sync process is not lost between browser page reloads) the call to save hangs indefinitely.

The very slow workaround here is to do:

            await wallet.stopSyncing();
            await wallet.save();
            await wallet.startSyncing(15000);

mainnet-pat avatar Apr 24 '24 07:04 mainnet-pat