mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-15 19:31:35 +02:00
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:
parent
9ea3f55694
commit
ef17b12a86
@ -1063,7 +1063,7 @@ func (f *Manager) stateStep(channel *channeldb.OpenChannel,
|
|||||||
channel.IdentityPub, chanID,
|
channel.IdentityPub, chanID,
|
||||||
)
|
)
|
||||||
if err != nil {
|
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)
|
"was received: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3574,7 +3574,7 @@ func (f *Manager) handleChannelReady(peer lnpeer.Peer,
|
|||||||
|
|
||||||
err = peer.SendMessage(true, channelReadyMsg)
|
err = peer.SendMessage(true, channelReadyMsg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("unable to send funding locked: %v",
|
log.Errorf("unable to send channel_ready: %v",
|
||||||
err)
|
err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user