Skip to content

Commit d409fae

Browse files
committed
tapchannel: don't specify absoluteDelay for HLTC success
1 parent 15df164 commit d409fae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tapchannel/aux_sweeper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,6 +810,7 @@ func localHtlcTimeoutSweepDesc(req lnwallet.ResolutionReq,
810810
}
811811

812812
// Now that we have the script tree, we'll make the control block needed
813+
// to spend it, but taking the timeout path.
813814
ctrlBlock, err := htlcScriptTree.CtrlBlockForPath(
814815
input.ScriptPathTimeout,
815816
)
@@ -958,7 +959,6 @@ func localHtlcSucessSweepDesc(req lnwallet.ResolutionReq,
958959
scriptTree: htlcScriptTree,
959960
ctrlBlockBytes: ctrlBlockBytes,
960961
relativeDelay: lfn.Some(uint64(req.CsvDelay)),
961-
absoluteDelay: lfn.Some(uint64(htlcExpiry)),
962962
auxSigInfo: req.AuxSigDesc,
963963
secondLevelSigIndex: sigIndex,
964964
},

0 commit comments

Comments
 (0)