Fix wrong msg type in SendTxAbort, typo
[rust-lightning] / lightning / src / events / mod.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 {