Skip to content

[Bug]: No minimum receive amount or LSP fee, and CJIT Error when attempting to receive spending balances when network is down #1898

@catch-21

Description

@catch-21

Describe the bug

Created off the back of #1833 (comment)

$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

  1. With no existing LN connection
  2. Enable aeroplane mode to stop network
  3. Attempt to receive lightning funds
  4. Observe $0 minimum
  5. Continue
  6. Observe $0 LSP fee
  7. Continue
  8. Observe cjit error

Screenshots / Recording

Screenrecorder-2024-05-28-17-40-07-659.mp4

Operating system

Android 13 TKQ1.221114.001

Bitkit version

5dee7d2

Log output

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingestimate:5triageThis issue needs to be looked over by the team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions