mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-05-31 02:01:46 +02:00
itest: add case for taproot chans to htlc timeout resolver itests
This commit is contained in:
parent
92da6b1d44
commit
a87631c957
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user