synonymdev / bitkit

Self-custodial Bitcoin and Lightning Wallet for Android and iOS.
https://bitkit.to
MIT License
109 stars 22 forks source link

[Bug]: User-added LN peers are not backed up #2028

Open catch-21 opened 6 days ago

catch-21 commented 6 days ago

Describe the bug

When I add a new LN peer and then restore my wallet the peer is not persisted. This is most important when there's a connection with an LSP (not blocktank) because without the peer then the connection is unusable.

Reproduce

  1. Request liquidity from LNBig to establish a new connection
  2. Observe LN connection that Is Usable? Yes
  3. Restore wallet
  4. Observe LN connection is now Is Usable? No (this is because the peer is not restored)
  5. At this stage, you can scan to re-add the peer to get the connection usable again, but you shouldn't need to.

Screenshots / Recording

No response

Operating system

Android 13 TKQ1.221114.001

Bitkit version

v127

Log output

No response

Jasonvdb commented 5 days ago

Fix here https://github.com/synonymdev/react-native-ldk/pull/257