Skip to content

Commit 0ebf70d

Browse files
committed
Drop stale doc comment + TODO describing MessageSendEvents
1 parent 26008bb commit 0ebf70d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lightning/src/util/events.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@
44
//! Because we don't have a built-in runtime, it's up to the client to call events at a time in the
55
//! future, as well as generate and broadcast funding transactions handle payment preimages and a
66
//! few other things.
7-
//!
8-
//! Note that many events are handled for you by PeerHandler, so in the common design of having a
9-
//! PeerManager which marshalls messages to ChannelManager and Router you only need to call
10-
//! process_events on the PeerHandler and then get_and_clear_pending_events and handle the events
11-
//! that bubble up to the surface. If, however, you do not have a PeerHandler managing a
12-
//! ChannelManager you need to handle all of the events which may be generated.
13-
//TODO: We need better separation of event types ^
147
158
use ln::msgs;
169
use ln::channelmanager::{PaymentPreimage, PaymentHash};

0 commit comments

Comments
 (0)