chancloser: add new closeAwaitingFlushState

This commit is contained in:
Keagan McClelland committed 2024-01-22 12:19:58 -08:00
1 parent 9b2d1018f2
commit 30ad49a29d
1 file changed
+5
+5
View File
@@ -70,6 +70,11 @@ const (
// phase.
closeShutdownInitiated
// closeAwaitingFlush is the state that's transitioned to once both
// Shutdown messages have been exchanged but we are waiting for the
// HTLCs to clear out of the channel.
closeAwaitingFlush
// closeFeeNegotiation is the third, and most persistent state. Both
// parties enter this state after they've sent and received a shutdown
// message. During this phase, both sides will send monotonically