Skip to content

[Bug]: Paying LN invoice or lnurl on startup provokes "Lightning Startup Error" "already_init" toast #2440

@catch-21

Description

@catch-21

Describe the bug

Certainly timing related because if I wait a few seconds for ldk to initialise before pasting it doesn't toast.
My guess is the pasting causes a re-init of ldk and the error is shown. Do we need to ever show this error?

Reproduce

  1. On cold startup, paste an LN invoice or lnurl
  2. Observe toast error

Screenshots / Recording

paste_lnurl.mp4
paste_invoice.mp4

Operating system

Android 14

Bitkit version

v1.0.8

Log output

bitkit_ldk_logs_1737552397205.zip

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions