multi: rename FundingLocked to ChannelReady

This commit is created by running,

```shell
gofmt -d -w -r 'FundingLocked -> ChannelReady' .

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

No files matched your search

+2 -2
View File
@@ -889,7 +889,7 @@ func (f *Manager) reservationCoordinator() {
case *lnwire.FundingSigned:
f.handleFundingSigned(fmsg.peer, msg)
case *lnwire.FundingLocked:
case *lnwire.ChannelReady:
f.wg.Add(1)
go f.handleFundingLocked(fmsg.peer, msg)
@@ -3394,7 +3394,7 @@ func (f *Manager) waitForZeroConfChannel(c *channeldb.OpenChannel,
// handleFundingLocked finalizes the channel funding process and enables the
// channel to enter normal operating mode.
func (f *Manager) handleFundingLocked(peer lnpeer.Peer,
msg *lnwire.FundingLocked) {
msg *lnwire.ChannelReady) {
defer f.wg.Done()
log.Debugf("Received FundingLocked for ChannelID(%v) from "+