mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-06 04:59:34 +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:
|
case lnrpc.CommitmentType_LEGACY:
|
||||||
numTxesMempool++
|
numTxesMempool++
|
||||||
|
|
||||||
// For non-anchor channel type, we should expect to see Bob's commit
|
// For anchor channel type, we should expect to see Bob's commit sweep
|
||||||
// sweep and his anchor sweep tx in the mempool.
|
// and his anchor sweep tx in the mempool.
|
||||||
case lnrpc.CommitmentType_ANCHORS:
|
case lnrpc.CommitmentType_ANCHORS, lnrpc.CommitmentType_SIMPLE_TAPROOT:
|
||||||
numTxesMempool += 2
|
numTxesMempool += 2
|
||||||
|
|
||||||
// For script-enforced leased channel, we should expect to see Bob's
|
// For script-enforced leased channel, we should expect to see Bob's
|
||||||
@ -2323,7 +2323,7 @@ func runExtraPreimageFromLocalCommit(ht *lntest.HarnessTest,
|
|||||||
htlcOutpoint.Index = 0
|
htlcOutpoint.Index = 0
|
||||||
ht.Miner.AssertNumTxsInMempool(2)
|
ht.Miner.AssertNumTxsInMempool(2)
|
||||||
|
|
||||||
case lnrpc.CommitmentType_ANCHORS:
|
case lnrpc.CommitmentType_ANCHORS, lnrpc.CommitmentType_SIMPLE_TAPROOT:
|
||||||
htlcOutpoint.Index = 2
|
htlcOutpoint.Index = 2
|
||||||
ht.Miner.AssertNumTxsInMempool(3)
|
ht.Miner.AssertNumTxsInMempool(3)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user