mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-29 15:11:09 +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:
@@ -306,7 +306,7 @@ func TestGossipSyncerFilterGossipMsgsAllInMemory(t *testing.T) {
|
||||
},
|
||||
{
|
||||
// Ann tuple below horizon.
|
||||
msg: &lnwire.ChannelAnnouncement{
|
||||
msg: &lnwire.ChannelAnnouncement1{
|
||||
ShortChannelID: lnwire.NewShortChanIDFromInt(10),
|
||||
},
|
||||
},
|
||||
@@ -318,7 +318,7 @@ func TestGossipSyncerFilterGossipMsgsAllInMemory(t *testing.T) {
|
||||
},
|
||||
{
|
||||
// Ann tuple above horizon.
|
||||
msg: &lnwire.ChannelAnnouncement{
|
||||
msg: &lnwire.ChannelAnnouncement1{
|
||||
ShortChannelID: lnwire.NewShortChanIDFromInt(15),
|
||||
},
|
||||
},
|
||||
@@ -330,7 +330,7 @@ func TestGossipSyncerFilterGossipMsgsAllInMemory(t *testing.T) {
|
||||
},
|
||||
{
|
||||
// Ann tuple beyond horizon.
|
||||
msg: &lnwire.ChannelAnnouncement{
|
||||
msg: &lnwire.ChannelAnnouncement1{
|
||||
ShortChannelID: lnwire.NewShortChanIDFromInt(20),
|
||||
},
|
||||
},
|
||||
@@ -343,7 +343,7 @@ func TestGossipSyncerFilterGossipMsgsAllInMemory(t *testing.T) {
|
||||
{
|
||||
// Ann w/o an update at all, the update in the DB will
|
||||
// be below the horizon.
|
||||
msg: &lnwire.ChannelAnnouncement{
|
||||
msg: &lnwire.ChannelAnnouncement1{
|
||||
ShortChannelID: lnwire.NewShortChanIDFromInt(25),
|
||||
},
|
||||
},
|
||||
@@ -706,7 +706,7 @@ func TestGossipSyncerReplyShortChanIDs(t *testing.T) {
|
||||
}
|
||||
|
||||
queryReply := []lnwire.Message{
|
||||
&lnwire.ChannelAnnouncement{
|
||||
&lnwire.ChannelAnnouncement1{
|
||||
ShortChannelID: lnwire.NewShortChanIDFromInt(20),
|
||||
},
|
||||
&lnwire.ChannelUpdate{
|
||||
|
Reference in New Issue
Block a user