breacharbiter: use the pkScript of the breached output for spend ntnfs

This commit is contained in:
Olaoluwa Osuntokun committed 2018-07-31 21:28:59 -07:00
1 parent 62ab7424af
commit ab5b8b8fac
1 file changed
+1
+1
View File
@@ -360,6 +360,7 @@ func (b *breachArbiter) waitForSpendEvent(breachInfo *retributionInfo,
var err error
spendNtfn, err = b.cfg.Notifier.RegisterSpendNtfn(
&breachedOutput.outpoint,
breachedOutput.signDesc.Output.PkScript,
breachInfo.breachHeight,
)
if err != nil {