Fix wrong msg type in SendTxAbort, typo
authoroptout <13562139+optout21@users.noreply.github.com>
Thu, 31 Aug 2023 22:00:13 +0000 (00:00 +0200)
committeroptout <13562139+optout21@users.noreply.github.com>
Thu, 31 Aug 2023 22:00:13 +0000 (00:00 +0200)
lightning/src/events/mod.rs
lightning/src/ln/msgs.rs

index 95f2eb357dcd57a395227b828704ad9587c7dac5..f4f7a7cca9a5ad33c5346351d769763193220916 100644 (file)
@@ -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 {
index 89ded2168bcc33bd8d4c1622dab6986231967671..e8a226932b4d252b5f3eb16d6daf1181b3b8059a 100644 (file)
@@ -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.