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
+3
-3
@@ -611,7 +611,7 @@ func createTestPeer(t *testing.T) *peerTestCtx {
|
||||
IsChannelActive: func(lnwire.ChannelID) bool {
|
||||
return true
|
||||
},
|
||||
ApplyChannelUpdate: func(*lnwire.ChannelUpdate,
|
||||
ApplyChannelUpdate: func(*lnwire.ChannelUpdate1,
|
||||
*wire.OutPoint, bool) error {
|
||||
|
||||
return nil
|
||||
@@ -719,9 +719,9 @@ func createTestPeer(t *testing.T) *peerTestCtx {
|
||||
},
|
||||
PongBuf: make([]byte, lnwire.MaxPongBytes),
|
||||
FetchLastChanUpdate: func(chanID lnwire.ShortChannelID,
|
||||
) (*lnwire.ChannelUpdate, error) {
|
||||
) (*lnwire.ChannelUpdate1, error) {
|
||||
|
||||
return &lnwire.ChannelUpdate{}, nil
|
||||
return &lnwire.ChannelUpdate1{}, nil
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user