contractcourt/contract_resolvers: make commitSweepResolver use confirmed spend

This commit is contained in:
Johan T. Halseth 2018-07-17 09:13:05 +02:00
parent 9fffe23696
commit 5bfa2f5912
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -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