Skip to content

Commit d176835

Browse files
committed
tapchannel: don't specify absoluteDelay for HLTC success
1 parent 234bd48 commit d176835

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
@@ -843,6 +843,7 @@ func localHtlcTimeoutSweepDesc(req lnwallet.ResolutionReq,
843843
}
844844

845845
// Now that we have the script tree, we'll make the control block needed
846+
// to spend it, but taking the timeout path.
846847
ctrlBlock, err := htlcScriptTree.CtrlBlockForPath(
847848
input.ScriptPathTimeout,
848849
)
@@ -991,7 +992,6 @@ func localHtlcSucessSweepDesc(req lnwallet.ResolutionReq,
991992
scriptTree: htlcScriptTree,
992993
ctrlBlockBytes: ctrlBlockBytes,
993994
relativeDelay: lfn.Some(uint64(req.CsvDelay)),
994-
absoluteDelay: lfn.Some(uint64(htlcExpiry)),
995995
auxSigInfo: req.AuxSigDesc,
996996
secondLevelSigIndex: sigIndex,
997997
},

0 commit comments

Comments
 (0)