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