From: optout <13562139+optout21@users.noreply.github.com> Date: Thu, 31 Aug 2023 22:00:13 +0000 (+0200) Subject: Fix wrong msg type in SendTxAbort, typo X-Git-Tag: v0.0.117-alpha1~31^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=89524466843e60676a117b77e1e0b41cd4230d7d;p=rust-lightning Fix wrong msg type in SendTxAbort, typo --- diff --git a/lightning/src/events/mod.rs b/lightning/src/events/mod.rs index 95f2eb357..f4f7a7cca 100644 --- a/lightning/src/events/mod.rs +++ b/lightning/src/events/mod.rs @@ -1667,7 +1667,7 @@ pub enum MessageSendEvent { /// The node_id of the node which should receive this message node_id: PublicKey, /// The message which should be sent. - msg: msgs::TxAddInput, + msg: msgs::TxAbort, }, /// Used to indicate that a channel_ready message should be sent to the peer with the given node_id. SendChannelReady { diff --git a/lightning/src/ln/msgs.rs b/lightning/src/ln/msgs.rs index 89ded2168..e8a226932 100644 --- a/lightning/src/ln/msgs.rs +++ b/lightning/src/ln/msgs.rs @@ -1229,7 +1229,7 @@ pub trait ChannelMessageHandler : MessageSendEventsProvider { /// Handle an incoming `channel_ready` message from the given peer. fn handle_channel_ready(&self, their_node_id: &PublicKey, msg: &ChannelReady); - // Channl close: + // Channel close: /// Handle an incoming `shutdown` message from the given peer. fn handle_shutdown(&self, their_node_id: &PublicKey, msg: &Shutdown); /// Handle an incoming `closing_signed` message from the given peer.