multi: rename ChannelUpdate to ChannelUpdate1

In preparation for adding a new ChannelUpdate2 message and a
ChannelUpdate interface, we rename the existing message to
ChannelUpdate1.
This commit is contained in:
Elle Mouton
2024-08-21 08:39:37 +02:00
parent bb44efa21f
commit 60f331edb1
43 changed files with 198 additions and 172 deletions

View File

@@ -1100,7 +1100,7 @@ func TestLightningWireProtocol(t *testing.T) {
maxHtlc = 0
}
req := ChannelUpdate{
req := ChannelUpdate1{
ShortChannelID: NewShortChanIDFromInt(uint64(r.Int63())),
Timestamp: uint32(r.Int31()),
MessageFlags: msgFlags,
@@ -1643,7 +1643,7 @@ func TestLightningWireProtocol(t *testing.T) {
},
{
msgType: MsgChannelUpdate,
scenario: func(m ChannelUpdate) bool {
scenario: func(m ChannelUpdate1) bool {
return mainScenario(&m)
},
},