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
2023-03-16 04:44:15 +08:00
parent 1b7c56b2ed
commit c8e8358918
4 changed files with 7 additions and 7 deletions

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{}