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:
@@ -24,7 +24,7 @@ func TestCreateChanAnnouncement(t *testing.T) {
|
||||
t.Fatalf("unable to encode features: %v", err)
|
||||
}
|
||||
|
||||
expChanAnn := &lnwire.ChannelAnnouncement{
|
||||
expChanAnn := &lnwire.ChannelAnnouncement1{
|
||||
ChainHash: chainhash.Hash{0x1},
|
||||
ShortChannelID: lnwire.ShortChannelID{BlockHeight: 1},
|
||||
NodeID1: key,
|
||||
|
Reference in New Issue
Block a user