multi: rename ChannelAnnouncement to ChannelAnnouncment1
In preparation for adding the new ChannelAnnouncement2 message along with a ChannelAnnouncement interface, we rename the existing message to ChannelAnnouncement1.
This commit is contained in:
17 files changed
+55
-54
No files matched your search
+1
-1
@@ -1447,7 +1447,7 @@ func (g *GossipSyncer) FilterGossipMsgs(msgs ...msgWithSenders) {
|
||||
// For each channel announcement message, we'll only send this
|
||||
// message if the channel updates for the channel are between
|
||||
// our time range.
|
||||
case *lnwire.ChannelAnnouncement:
|
||||
case *lnwire.ChannelAnnouncement1:
|
||||
// First, we'll check if the channel updates are in
|
||||
// this message batch.
|
||||
chanUpdates, ok := chanUpdateIndex[msg.ShortChannelID]
|
||||
|
||||
Reference in new issue
Block a user