mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-23 07:24:21 +01:00
rpcserver: add TODO for removing coop closes from "pending close" channels
This commit is contained in:
@@ -1455,6 +1455,10 @@ func (r *rpcServer) PendingChannels(ctx context.Context,
|
||||
|
||||
// If the channel was closed cooperatively, then we'll only
|
||||
// need to tack on the closing txid.
|
||||
// TODO(halseth): remove. After recent changes, a coop closed
|
||||
// channel should never be in the "pending close" state.
|
||||
// Keeping for now to let someone that upgraded in the middle
|
||||
// of a close let their closing tx confirm.
|
||||
case channeldb.CooperativeClose:
|
||||
resp.PendingClosingChannels = append(
|
||||
resp.PendingClosingChannels,
|
||||
|
||||
Reference in New Issue
Block a user