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:
17 files changed
+55
-54
No files matched your search
@@ -645,11 +645,11 @@ func newMsgChannelReestablish(t testing.TB,
|
||||
}
|
||||
|
||||
func newMsgChannelAnnouncement(t testing.TB,
|
||||
r *rand.Rand) *lnwire.ChannelAnnouncement {
|
||||
r *rand.Rand) *lnwire.ChannelAnnouncement1 {
|
||||
|
||||
t.Helper()
|
||||
|
||||
msg := &lnwire.ChannelAnnouncement{
|
||||
msg := &lnwire.ChannelAnnouncement1{
|
||||
ShortChannelID: lnwire.NewShortChanIDFromInt(uint64(r.Int63())),
|
||||
Features: rawFeatureVector(),
|
||||
NodeID1: randRawKey(t),
|
||||
|
||||
Reference in new issue
Block a user