Skip to content

Commit ef8945e

Browse files
authored
Merge pull request #2543 from optout21/txabort-typo
[minor] Fix wrong msg type in SendTxAbort, typo
2 parents 073f078 + 8952446 commit ef8945e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lightning/src/events/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1667,7 +1667,7 @@ pub enum MessageSendEvent {
16671667
/// The node_id of the node which should receive this message
16681668
node_id: PublicKey,
16691669
/// The message which should be sent.
1670-
msg: msgs::TxAddInput,
1670+
msg: msgs::TxAbort,
16711671
},
16721672
/// Used to indicate that a channel_ready message should be sent to the peer with the given node_id.
16731673
SendChannelReady {

lightning/src/ln/msgs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ pub trait ChannelMessageHandler : MessageSendEventsProvider {
12291229
/// Handle an incoming `channel_ready` message from the given peer.
12301230
fn handle_channel_ready(&self, their_node_id: &PublicKey, msg: &ChannelReady);
12311231

1232-
// Channl close:
1232+
// Channel close:
12331233
/// Handle an incoming `shutdown` message from the given peer.
12341234
fn handle_shutdown(&self, their_node_id: &PublicKey, msg: &Shutdown);
12351235
/// Handle an incoming `closing_signed` message from the given peer.

0 commit comments

Comments
 (0)