mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-29 19:42:40 +02:00
contractcourt/contract_resolvers: make commitSweepResolver use confirmed spend
This commit is contained in:
@@ -1288,7 +1288,7 @@ func (c *commitSweepResolver) Resolve() (ContractResolver, error) {
|
|||||||
// until the commitment output has been spent.
|
// until the commitment output has been spent.
|
||||||
spendNtfn, err := c.Notifier.RegisterSpendNtfn(
|
spendNtfn, err := c.Notifier.RegisterSpendNtfn(
|
||||||
&c.commitResolution.SelfOutPoint,
|
&c.commitResolution.SelfOutPoint,
|
||||||
c.broadcastHeight, true,
|
c.broadcastHeight, false,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Reference in New Issue
Block a user