From a87631c957b04b8eb226fb8a0a55a3d1e7c8533a Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 22 Aug 2023 17:43:51 -0700 Subject: [PATCH] itest: add case for taproot chans to htlc timeout resolver itests --- itest/lnd_multi-hop_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/itest/lnd_multi-hop_test.go b/itest/lnd_multi-hop_test.go index 977c66f8e..fcc169b30 100644 --- a/itest/lnd_multi-hop_test.go +++ b/itest/lnd_multi-hop_test.go @@ -2173,9 +2173,9 @@ func runExtraPreimageFromRemoteCommit(ht *lntest.HarnessTest, case lnrpc.CommitmentType_LEGACY: numTxesMempool++ - // For non-anchor channel type, we should expect to see Bob's commit - // sweep and his anchor sweep tx in the mempool. - case lnrpc.CommitmentType_ANCHORS: + // For anchor channel type, we should expect to see Bob's commit sweep + // and his anchor sweep tx in the mempool. + case lnrpc.CommitmentType_ANCHORS, lnrpc.CommitmentType_SIMPLE_TAPROOT: numTxesMempool += 2 // For script-enforced leased channel, we should expect to see Bob's @@ -2323,7 +2323,7 @@ func runExtraPreimageFromLocalCommit(ht *lntest.HarnessTest, htlcOutpoint.Index = 0 ht.Miner.AssertNumTxsInMempool(2) - case lnrpc.CommitmentType_ANCHORS: + case lnrpc.CommitmentType_ANCHORS, lnrpc.CommitmentType_SIMPLE_TAPROOT: htlcOutpoint.Index = 2 ht.Miner.AssertNumTxsInMempool(3)