diff --git a/breacharbiter.go b/breacharbiter.go index 6f3c8777..1f142283 100644 --- a/breacharbiter.go +++ b/breacharbiter.go @@ -326,6 +326,12 @@ func (b *breachArbiter) exactRetribution(confChan *chainntnfs.ConfirmationEvent, "have been claimed", breachInfo.chanPoint, revokedFunds, totalFunds) + // With the channel closed, mark it in the database as such. + err := b.db.MarkChanFullyClosed(&breachInfo.chanPoint) + if err != nil { + brarLog.Errorf("unable to mark chan as closed: %v", err) + } + // TODO(roasbeef): add peer to blacklist? // TODO(roasbeef): close other active channels with offending peer