breacharbiter: add todo for removing IsPending check

This commit is contained in:
Johan T. Halseth 2018-05-23 12:11:19 +02:00
parent 72d9726e7f
commit 69a76a808f
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

View File

@ -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