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:
43 files changed
+198
-172
No files matched your search
@@ -111,7 +111,7 @@ func TestUpdateDisableFlag(t *testing.T) {
|
||||
// Create the initial update, the only fields we are
|
||||
// concerned with in this test are the timestamp and the
|
||||
// channel flags.
|
||||
ogUpdate := &lnwire.ChannelUpdate{
|
||||
ogUpdate := &lnwire.ChannelUpdate1{
|
||||
Timestamp: uint32(tc.startTime.Unix()),
|
||||
}
|
||||
if !tc.startEnabled {
|
||||
@@ -122,7 +122,7 @@ func TestUpdateDisableFlag(t *testing.T) {
|
||||
// the original. UpdateDisableFlag will mutate the
|
||||
// passed channel update, so we keep the old one to test
|
||||
// against.
|
||||
newUpdate := &lnwire.ChannelUpdate{
|
||||
newUpdate := &lnwire.ChannelUpdate1{
|
||||
Timestamp: ogUpdate.Timestamp,
|
||||
ChannelFlags: ogUpdate.ChannelFlags,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user