From 69a76a808fdf86c8354f24d7ddab3ae306a72f24 Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Wed, 23 May 2018 12:11:19 +0200 Subject: [PATCH] breacharbiter: add todo for removing IsPending check --- breacharbiter.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/breacharbiter.go b/breacharbiter.go index a5d12c88..938240aa 100644 --- a/breacharbiter.go +++ b/breacharbiter.go @@ -165,6 +165,8 @@ func (b *breachArbiter) Start() error { // finished our responsibilities. If the removal is successful, we also // remove the entry from our in-memory map, to avoid any further action // for this channel. + // TODO(halseth): no need continue on IsPending once closed channels + // actually means close transaction is confirmed. for _, chanSummary := range closedChans { if chanSummary.IsPending { continue