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:
Elle Mouton committed 2024-09-18 16:13:17 +02:00
1 parent 05d76b696d
commit bb44efa21f
17 files changed
+55 -54

No files matched your search

+1 -1
View File
@@ -1208,7 +1208,7 @@ func assertChannelAnnouncements(t *testing.T, alice, bob *testNode,
gotChannelUpdate := false
for _, msg := range announcements {
switch m := msg.(type) {
case *lnwire.ChannelAnnouncement:
case *lnwire.ChannelAnnouncement1:
gotChannelAnnouncement = true
case *lnwire.ChannelUpdate: