diff --git a/contractcourt/commit_sweep_resolver.go b/contractcourt/commit_sweep_resolver.go index 612e293ea..0f2cb6b24 100644 --- a/contractcourt/commit_sweep_resolver.go +++ b/contractcourt/commit_sweep_resolver.go @@ -413,17 +413,22 @@ func (c *commitSweepResolver) Launch() error { &c.commitResolution.SelfOutPoint, witnessType, &c.commitResolution.SelfOutputSignDesc, c.broadcastHeight, c.commitResolution.MaturityDelay, - c.leaseExpiry, + c.leaseExpiry, input.WithResolutionBlob( + c.commitResolution.ResolutionBlob, + ), ) } else { inp = input.NewCsvInput( &c.commitResolution.SelfOutPoint, witnessType, &c.commitResolution.SelfOutputSignDesc, c.broadcastHeight, c.commitResolution.MaturityDelay, + input.WithResolutionBlob( + c.commitResolution.ResolutionBlob, + ), ) } - // TODO(roasbeef): instead of ading ctrl block to the sign desc, make + // TODO(roasbeef): instead of adding ctrl block to the sign desc, make // new input type, have sweeper set it? // Calculate the budget for the sweeping this input. diff --git a/contractcourt/htlc_lease_resolver.go b/contractcourt/htlc_lease_resolver.go index 8f97b6804..3002cec0b 100644 --- a/contractcourt/htlc_lease_resolver.go +++ b/contractcourt/htlc_lease_resolver.go @@ -58,10 +58,8 @@ func (h *htlcLeaseResolver) makeSweepInput(op *wire.OutPoint, if h.hasCLTV() { return input.NewCsvInputWithCltv( - op, cltvWtype, signDesc, - broadcastHeight, csvDelay, - h.leaseExpiry, - input.WithResolutionBlob(resBlob), + op, cltvWtype, signDesc, broadcastHeight, csvDelay, + h.leaseExpiry, input.WithResolutionBlob(resBlob), ) }