-
Notifications
You must be signed in to change notification settings - Fork 16
Fix/rn 0.78 compatibility #295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
a129cb4
43e58e2
b6dc606
27ae87e
9d515df
9e36e37
9cc8fe1
c61f6c3
2029374
8b5d49d
f546797
b63a95d
aad7436
2075371
c75913c
5e1aacd
b38a021
5cf5bd8
2252f27
42ebec5
e9b5db8
28ac6ee
8b02435
2cdba31
48bca56
0a82ef7
512875e
5ab9d6f
258adf5
5c0c1df
af90816
dc0f808
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,3 +6,6 @@ example/.watchman* | |
| # docker | ||
| example/docker/lnd/ | ||
| example/docker/clightning/ | ||
|
|
||
| #AI | ||
| CLAUDE.md | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,7 +39,7 @@ class LdkPersister { | |
| file.writeBytes(serialized) | ||
|
|
||
| // Update chain monitor on main thread | ||
| LdkModule.reactContext?.runOnUiThread { | ||
| LdkEventEmitter.getReactContext()?.runOnUiQueueThread { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: this change doesn't make a lot of sense to me. Why would we change what was already there?!
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The method runOnUiThread doesn't exist on ReactContext class, that is why I assumed it was removed Here you can see that And here you can see that the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the ReactNative version of the project was updated |
||
| val res = LdkModule.chainMonitor?.channel_monitor_updated(channelFundingOutpoint, data._latest_update_id) | ||
| if (res == null || !res.is_ok) { | ||
| LdkEventEmitter.send(EventTypes.native_log, "Failed to update chain monitor with persisted channel (${channelId})") | ||
|
|
@@ -75,7 +75,7 @@ class LdkPersister { | |
| } | ||
|
|
||
| //Update chain monitor with successful persist on main thread | ||
| LdkModule.reactContext?.runOnUiThread { | ||
| LdkEventEmitter.getReactContext()?.runOnUiQueueThread { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: this change doesn't make a lot of sense to me. Why would we change what was already there?! |
||
| val res = LdkModule.chainMonitor?.channel_monitor_updated(channelFundingOutpoint, data._latest_update_id) | ||
| if (res == null || !res.is_ok) { | ||
| LdkEventEmitter.send(EventTypes.native_log, "Failed to update chain monitor with persisted channel (${channelId})") | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.