From 89524466843e60676a117b77e1e0b41cd4230d7d Mon Sep 17 00:00:00 2001 From: optout <13562139+optout21@users.noreply.github.com> Date: Fri, 1 Sep 2023 00:00:13 +0200 Subject: [PATCH] Fix wrong msg type in SendTxAbort, typo --- lightning/src/events/mod.rs | 2 +- lightning/src/ln/msgs.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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. -- 2.39.5