@@ -1018,7 +1018,7 @@ where
1018
1018
///
1019
1019
/// Note that `next_channel_id` and `skimmed_fee_msat` are required to be provided. Therefore, the corresponding
1020
1020
/// [`Event::PaymentForwarded`] events need to be generated and serialized by LDK versions
1021
- /// greater or equal to 0.0.107 .
1021
+ /// greater or equal to 0.0.122 .
1022
1022
///
1023
1023
/// [`Event::PaymentForwarded`]: lightning::events::Event::PaymentForwarded
1024
1024
pub fn payment_forwarded (
@@ -1552,7 +1552,8 @@ where
1552
1552
}
1553
1553
1554
1554
/// Checks if the JIT channel with the given `user_channel_id` needs manual broadcast.
1555
- /// Will be true if client_trusts_lsp is set to true
1555
+ ///
1556
+ /// Will be `true` if `client_trusts_lsp` is set to `true`.
1556
1557
pub fn channel_needs_manual_broadcast (
1557
1558
& self , user_channel_id : u128 , counterparty_node_id : & PublicKey ,
1558
1559
) -> Result < bool , APIError > {
@@ -1584,8 +1585,9 @@ where
1584
1585
Ok ( jit_channel. is_client_trusts_lsp ( ) )
1585
1586
}
1586
1587
1587
- /// Called to store the funding transaction for a JIT channel.
1588
- /// This should be called when the funding transaction is created but before it's broadcast.
1588
+ /// Stores the funding transaction for a JIT channel.
1589
+ ///
1590
+ /// Call this when the funding transaction is created.
1589
1591
pub fn store_funding_transaction (
1590
1592
& self , user_channel_id : u128 , counterparty_node_id : & PublicKey , funding_tx : Transaction ,
1591
1593
) -> Result < ( ) , APIError > {
0 commit comments