multi: rename fundingLockedMsg to channelReadyMsg

This commit is created by running,
```shell
gofmt -d -w -r 'fundingLockedMsg -> channelReadyMsg' .
```
This commit is contained in:
yyforyongyu committed 2023-03-17 18:21:59 +08:00
1 parent 112dc1faca
commit 539cae1999
3 files changed
+15 -15

No files matched your search

+3 -3
View File
@@ -734,7 +734,7 @@ func (l *channelLink) syncChanStates() error {
"revocation: %v", err)
}
fundingLockedMsg := lnwire.NewChannelReady(
channelReadyMsg := lnwire.NewChannelReady(
l.ChanID(), nextRevocation,
)
@@ -756,10 +756,10 @@ func (l *channelLink) syncChanStates() error {
// getAliases returns a copy of the alias slice
// so it is ok to use a pointer to the first
// entry.
fundingLockedMsg.AliasScid = &aliases[0]
channelReadyMsg.AliasScid = &aliases[0]
}
err = l.cfg.Peer.SendMessage(false, fundingLockedMsg)
err = l.cfg.Peer.SendMessage(false, channelReadyMsg)
if err != nil {
return fmt.Errorf("unable to re-send "+
"FundingLocked: %v", err)