breacharbiter: make the second level check use confirmed spends
This commit is contained in:
parent
a16bb662a4
commit
8cff5eae6c
@ -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 "+
|
||||||
|
Loading…
Reference in New Issue
Block a user