Skip to content

Commit 40ef365

Browse files
authoredMar 11, 2024··
Fixup quiescence timeout when initiating splice (#2836)
Should use the quiescence timeout value instead of the revocation timeout value (copy-paste error) when initiating a splice.
1 parent 1b3e4b0 commit 40ef365

File tree

1 file changed

+1
-1
lines changed
  • eclair-core/src/main/scala/fr/acinq/eclair/channel/fsm

1 file changed

+1
-1
lines changed
 

‎eclair-core/src/main/scala/fr/acinq/eclair/channel/fsm/Channel.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ class Channel(val nodeParams: NodeParams, val wallet: OnChainChannelFunder with
853853
if (d.commitments.params.remoteParams.initFeatures.hasFeature(Features.SplicePrototype)) {
854854
d.spliceStatus match {
855855
case SpliceStatus.NoSplice if d.commitments.params.useQuiescence =>
856-
startSingleTimer(QuiescenceTimeout.toString, QuiescenceTimeout(peer), nodeParams.channelConf.revocationTimeout)
856+
startSingleTimer(QuiescenceTimeout.toString, QuiescenceTimeout(peer), nodeParams.channelConf.quiescenceTimeout)
857857
if (d.commitments.localIsQuiescent) {
858858
stay() using d.copy(spliceStatus = SpliceStatus.InitiatorQuiescent(cmd)) sending Stfu(d.channelId, initiator = true)
859859
} else {

0 commit comments

Comments
 (0)
Please sign in to comment.