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
2024-08-21 08:37:50 +02:00
parent 05d76b696d
commit bb44efa21f
17 changed files with 55 additions and 54 deletions

View File

@@ -979,7 +979,7 @@ func TestLightningWireProtocol(t *testing.T) {
},
MsgChannelAnnouncement: func(v []reflect.Value, r *rand.Rand) {
var err error
req := ChannelAnnouncement{
req := ChannelAnnouncement1{
ShortChannelID: NewShortChanIDFromInt(uint64(r.Int63())),
Features: randRawFeatureVector(r),
ExtraOpaqueData: make([]byte, 0),
@@ -1631,7 +1631,7 @@ func TestLightningWireProtocol(t *testing.T) {
},
{
msgType: MsgChannelAnnouncement,
scenario: func(m ChannelAnnouncement) bool {
scenario: func(m ChannelAnnouncement1) bool {
return mainScenario(&m)
},
},