channeldb+lnwire: rename MsgFundingLocked to MsgChannelReady

This commit is created by running,

```shell
gofmt -d -w -r 'MsgFundingLocked -> MsgChannelReady' .

gco master channeldb/migration
```
This commit is contained in:
yyforyongyu committed 2023-03-17 18:21:58 +08:00
1 parent 1b7c56b2ed
commit c8e8358918
4 files changed
+7 -7

No files matched your search

+3 -3
View File
@@ -31,7 +31,7 @@ const (
MsgAcceptChannel = 33
MsgFundingCreated = 34
MsgFundingSigned = 35
MsgFundingLocked = 36
MsgChannelReady = 36
MsgShutdown = 38
MsgClosingSigned = 39
MsgUpdateAddHTLC = 128
@@ -88,7 +88,7 @@ func (t MessageType) String() string {
return "MsgFundingCreated"
case MsgFundingSigned:
return "MsgFundingSigned"
case MsgFundingLocked:
case MsgChannelReady:
return "FundingLocked"
case MsgShutdown:
return "Shutdown"
@@ -190,7 +190,7 @@ func makeEmptyMessage(msgType MessageType) (Message, error) {
msg = &FundingCreated{}
case MsgFundingSigned:
msg = &FundingSigned{}
case MsgFundingLocked:
case MsgChannelReady:
msg = &ChannelReady{}
case MsgShutdown:
msg = &Shutdown{}