Skip to content

Commit c15f426

Browse files
committed
f describe errors in funding_transaction_signed
1 parent b473a48 commit c15f426

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5925,6 +5925,15 @@ where
59255925
/// will prevent the funding transaction from being relayed on the bitcoin network and hence being
59265926
/// confirmed.
59275927
/// </div>
5928+
///
5929+
/// Returns [`ChannelUnavailable`] when a channel is not found or an incorrect
5930+
/// `counterparty_node_id` is provided.
5931+
///
5932+
/// Returns [`APIMisuseError`] when a channel is not in a state where it is expecting funding
5933+
/// signatures.
5934+
///
5935+
/// [`ChannelUnavailable`]: APIError::ChannelUnavailable
5936+
/// [`APIMisuseError`]: APIError::APIMisuseError
59285937
pub fn funding_transaction_signed(
59295938
&self, channel_id: &ChannelId, counterparty_node_id: &PublicKey, transaction: Transaction,
59305939
) -> Result<(), APIError> {

0 commit comments

Comments
 (0)