Skip to content

Conversation

@jvsena42
Copy link
Member

@jvsena42 jvsena42 commented Feb 2, 2026

Description

This PR fixes a critical bug where channel monitor retrieval failures during migration from the React Native app were silently dropped, potentially causing permanent loss of Lightning channel state.

  1. Adds retrieveChannelMonitorWithRetry method with configurable retry attempts and linear backoff
  2. Implements parallel retrieval with proper error tracking for each channel
  3. Logs individual failures with channel IDs for debugging
  4. Validates expected vs retrieved monitor count with warnings

This is the iOS equivalent of the Android fix: synonymdev/bitkit-android#760

Linked Issues/Tasks

Related: synonymdev/bitkit-android#760

Screenshot / Video

N/A - internal migration logic fix

@jvsena42
Copy link
Member Author

jvsena42 commented Feb 2, 2026

@jvsena42 jvsena42 self-assigned this Feb 2, 2026
@claude
Copy link

claude bot commented Feb 2, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants