From 388222dac77dbbb85354d962d9886ed411983547 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 12 Mar 2021 21:30:26 -0500 Subject: [PATCH] Add `Debug` to derive list in MessageSendEvent It can be quite useful in debugging, and potentially also so for users. --- lightning/src/util/events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/util/events.rs b/lightning/src/util/events.rs index 271b6ddd1..118503c04 100644 --- a/lightning/src/util/events.rs +++ b/lightning/src/util/events.rs @@ -228,7 +228,7 @@ impl MaybeReadable for Event { /// An event generated by ChannelManager which indicates a message should be sent to a peer (or /// broadcast to most peers). /// These events are handled by PeerManager::process_events if you are using a PeerManager. -#[derive(Clone)] +#[derive(Clone, Debug)] pub enum MessageSendEvent { /// Used to indicate that we've accepted a channel open and should send the accept_channel /// message provided to the given peer. -- 2.39.5