Skip to content

Commit a87631c

Browse files
committed
itest: add case for taproot chans to htlc timeout resolver itests
1 parent 92da6b1 commit a87631c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

itest/lnd_multi-hop_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -2173,9 +2173,9 @@ func runExtraPreimageFromRemoteCommit(ht *lntest.HarnessTest,
21732173
case lnrpc.CommitmentType_LEGACY:
21742174
numTxesMempool++
21752175

2176-
// For non-anchor channel type, we should expect to see Bob's commit
2177-
// sweep and his anchor sweep tx in the mempool.
2178-
case lnrpc.CommitmentType_ANCHORS:
2176+
// For anchor channel type, we should expect to see Bob's commit sweep
2177+
// and his anchor sweep tx in the mempool.
2178+
case lnrpc.CommitmentType_ANCHORS, lnrpc.CommitmentType_SIMPLE_TAPROOT:
21792179
numTxesMempool += 2
21802180

21812181
// For script-enforced leased channel, we should expect to see Bob's
@@ -2323,7 +2323,7 @@ func runExtraPreimageFromLocalCommit(ht *lntest.HarnessTest,
23232323
htlcOutpoint.Index = 0
23242324
ht.Miner.AssertNumTxsInMempool(2)
23252325

2326-
case lnrpc.CommitmentType_ANCHORS:
2326+
case lnrpc.CommitmentType_ANCHORS, lnrpc.CommitmentType_SIMPLE_TAPROOT:
23272327
htlcOutpoint.Index = 2
23282328
ht.Miner.AssertNumTxsInMempool(3)
23292329

0 commit comments

Comments
 (0)