bitkit
bitkit copied to clipboard
[Bug]: LDK initialisation is not retried once recovered from no network state
Describe the bug
When Bitkit is opened when the device is in a low/no network state, preventing LDK from initialising, when the device returns to a good network state there is a chance that LDK does not ever initialise and Bitkit doesn't retry to do so.
Reproduce
- With a wallet that has spending balance 2.With device in a no-network state (can be configured in emulator's network settings or with aeroplane mode)
- Start bitkit and tap 'receive' to experience the wait on LDK to initialise before seeing the option for spending invoice
- After 1 minute has passed, reconnect the network
- Wait another minute for LN invoice.
- Even with a good network, Bitkit doesn't ever initiialise LDK and so no invoice is shown. This can be double-checked in the Advnaced->Lightning Node settings.
Screenshots / Recording
No response
Operating system
Android 13 TKQ1.221114.001
Bitkit version
v128 e8f50564c6b4f471d9a336067fa5d54b4754c2d4
Log output
No response