mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
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:
@@ -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)
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user