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
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

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