breacharbiter: make the second level check use confirmed spends

This commit is contained in:
Johan T. Halseth
2018-07-17 09:13:06 +02:00
parent a16bb662a4
commit 8cff5eae6c

View File

@@ -357,7 +357,7 @@ func (b *breachArbiter) waitForSpendEvent(breachInfo *retributionInfo,
var err error
spendNtfn, err = b.cfg.Notifier.RegisterSpendNtfn(
&breachedOutput.outpoint,
breachInfo.breachHeight, true,
breachInfo.breachHeight, false,
)
if err != nil {
brarLog.Errorf("unable to check for spentness "+