bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

[Bug]: LDK initialisation is not retried once recovered from no network state

Open catch-21 opened this issue 7 months ago • 0 comments

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

  1. 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)
  2. Start bitkit and tap 'receive' to experience the wait on LDK to initialise before seeing the option for spending invoice
  3. After 1 minute has passed, reconnect the network
  4. Wait another minute for LN invoice.
  5. 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

catch-21 avatar Jul 03 '24 07:07 catch-21