Browse Source
Fix a race condition that could cause the app to think that it is still syncing even after it has completed and as a result being stuck reporting 100% syncing during the onboarding process. `startGrpc` can take some time to fully establish and verify that th connection is set up as we wait for a successful result from a call to `getInfo`. Previously, we would send the `lndSyncing` message to the app only after `startGrpc` was complete. However, if the syncing process had actually completed before `startGrpc` then we would first notify that syncing had completed, only to then notify that it had started after it had already completed. In this fix, we notify the app of `lndSyncing` immediately after the wallet has been unlocked. Fix #525renovate/lint-staged-8.x
Tom Kirkpatrick
7 years ago
1 changed files with 5 additions and 5 deletions
Loading…
Reference in new issue