mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-23 15:34:22 +01:00
breacharbiter: use the pkScript of the breached output for spend ntnfs
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user