contractcourt/contract_resolvers: make commitSweepResolver use confirmed spend
This commit is contained in:
parent
9fffe23696
commit
5bfa2f5912
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user