multi: update "funding locked" comments
Replace a few un-caught instances of "funding locked" in some comments with "channel_ready"
This commit is contained in:
6 files changed
+27
-27
No files matched your search
+2
-2
@@ -722,7 +722,7 @@ func (l *channelLink) syncChanStates() error {
|
||||
|
||||
// If the remote party indicates that they think we haven't
|
||||
// done any state updates yet, then we'll retransmit the
|
||||
// funding locked message first. We do this, as at this point
|
||||
// channel_ready message first. We do this, as at this point
|
||||
// we can't be sure if they've really received the
|
||||
// ChannelReady message.
|
||||
if remoteChanSyncMsg.NextLocalCommitHeight == 1 &&
|
||||
@@ -1091,7 +1091,7 @@ func (l *channelLink) htlcManager() {
|
||||
// allow the switch to forward HTLCs in the outbound direction.
|
||||
l.markReestablished()
|
||||
|
||||
// Now that we've received both funding locked and channel reestablish,
|
||||
// Now that we've received both channel_ready and channel reestablish,
|
||||
// we can go ahead and send the active channel notification. We'll also
|
||||
// defer the inactive notification for when the link exits to ensure
|
||||
// that every active notification is matched by an inactive one.
|
||||
|
||||
@@ -115,7 +115,7 @@ func TestSwitchHasActiveLink(t *testing.T) {
|
||||
t.Fatalf("link should not be active yet, still pending")
|
||||
}
|
||||
|
||||
// Finally, simulate the link receiving funding locked by setting its
|
||||
// Finally, simulate the link receiving channel_ready by setting its
|
||||
// eligibility to true.
|
||||
aliceChannelLink.eligible = true
|
||||
|
||||
|
||||
Reference in new issue
Block a user