Skip to content

Commit 4006970

Browse files
committed
- bindings update
1 parent 651e273 commit 4006970

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

lightning-c-bindings/include/lightning.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6137,8 +6137,9 @@ void ChannelManager_block_connected(const struct LDKChannelManager *NONNULL_PTR
61376137
void ChannelManager_block_disconnected(const struct LDKChannelManager *NONNULL_PTR this_arg, const uint8_t (*header)[80]);
61386138

61396139
/**
6140-
* Blocks until ChannelManager needs to be persisted. Only one listener on `wait` is
6141-
* guaranteed to be woken up.
6140+
* Blocks until ChannelManager needs to be persisted. Only one listener on
6141+
* `await_persistable_update` or `await_persistable_update_timeout` is guaranteed to be woken
6142+
* up.
61426143
*/
61436144
void ChannelManager_await_persistable_update(const struct LDKChannelManager *NONNULL_PTR this_arg);
61446145

lightning-c-bindings/src/ln/channelmanager.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,8 +869,9 @@ pub extern "C" fn ChannelManager_block_disconnected(this_arg: &ChannelManager, h
869869
unsafe { &*this_arg.inner }.block_disconnected(&::bitcoin::consensus::encode::deserialize(unsafe { &*header }).unwrap())
870870
}
871871

872-
/// Blocks until ChannelManager needs to be persisted. Only one listener on `wait` is
873-
/// guaranteed to be woken up.
872+
/// Blocks until ChannelManager needs to be persisted. Only one listener on
873+
/// `await_persistable_update` or `await_persistable_update_timeout` is guaranteed to be woken
874+
/// up.
874875
#[no_mangle]
875876
pub extern "C" fn ChannelManager_await_persistable_update(this_arg: &ChannelManager) {
876877
unsafe { &*this_arg.inner }.await_persistable_update()

0 commit comments

Comments
 (0)