funding: update "funding locked" in error string

Replace a few uncaught instances of "funding locked" found in error
strings with "channel_ready"
This commit is contained in:
Elle Mouton 2023-04-27 20:03:44 +02:00
parent 9ea3f55694
commit ef17b12a86
No known key found for this signature in database
GPG Key ID: D7D916376026F177

View File

@ -1063,7 +1063,7 @@ func (f *Manager) stateStep(channel *channeldb.OpenChannel,
channel.IdentityPub, chanID,
)
if err != nil {
return fmt.Errorf("failed to check if funding locked "+
return fmt.Errorf("failed to check if channel_ready "+
"was received: %v", err)
}
@ -3574,7 +3574,7 @@ func (f *Manager) handleChannelReady(peer lnpeer.Peer,
err = peer.SendMessage(true, channelReadyMsg)
if err != nil {
log.Errorf("unable to send funding locked: %v",
log.Errorf("unable to send channel_ready: %v",
err)
return
}