Skip to content

Commit 0fcb2b1

Browse files
committed
fix comment
1 parent adb39ae commit 0fcb2b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ln/msgs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,8 @@ pub trait RoutingMessageHandler : Send + Sync {
586586
fn handle_channel_update(&self, msg: &ChannelUpdate) -> Result<bool, HandleError>;
587587
/// Handle some updates to the route graph that we learned due to an outbound failed payment.
588588
fn handle_htlc_fail_channel_update(&self, update: &HTLCFailChannelUpdate);
589-
///This returns a vec of vec's, one for ChannelAnnouncements, one for ChannelUpdates and one for NodeAnnouncements. It also returns the id of the last channel passed through
589+
///This returns a vec tuple of (ChannelAnnouncements, ChannelUpdates, NodeAnnouncements NodeAnnouncements). It also returns the id of the last channel passed through
590+
/// This function requires -1 to start at the beginning.
590591
fn get_next_announcements(&self, starting_point: i64, batch_amount: u8)->(Vec<(ChannelAnnouncement, ChannelUpdate, NodeAnnouncement, NodeAnnouncement)>, i64);
591592
}
592593

0 commit comments

Comments
 (0)