bitkit
bitkit copied to clipboard
[Bug]: No minimum receive amount or LSP fee, and CJIT Error when attempting to receive spending balances when network is down
Describe the bug
Created off the back of https://github.com/synonymdev/bitkit/issues/1833#issuecomment-2133657792
$0 receive minimum, $0 LSP fee and CJIT Error: init_channel_manager
or CJIT Error: Failed to create cjit entry. undefined
toast is displayed when attempting to receive spending balance without an existing LN connection. We should handle this better in the UI, perhaps preventing progression when unable to contact LSP.
Reproduce
This is easy to reproduce in aeroplane mode but it can also occur when network is down or restricted
- With no existing LN connection
- Enable aeroplane mode to stop network
- Attempt to receive lightning funds
- Observe $0 minimum
- Continue
- Observe $0 LSP fee
- Continue
- Observe cjit error
Screenshots / Recording
https://github.com/synonymdev/bitkit/assets/74595920/1acec51b-0dd3-4b36-90d6-82aece234fc9
Operating system
Android 13 TKQ1.221114.001
Bitkit version
5dee7d29d2cc891d52d97475de4180e020278a01
Log output
No response