itest: use explicit chan type negotiation for taproot chan cases

The prior commit removed implicit negotiation, so we'll need to make
sure to use the explicit chan type feature vector when we go to
negotiate.
This commit is contained in:
Olaoluwa Osuntokun committed 2023-08-22 16:34:31 -07:00
1 parent 384b1b1c12
commit 94f45b2b82
4 files changed
+64 -19

No files matched your search

+7 -5
View File
@@ -250,8 +250,9 @@ func revokedCloseRetributionZeroValueRemoteOutputCase(ht *lntest.HarnessTest,
privateChan := commitType == lnrpc.CommitmentType_SIMPLE_TAPROOT
chanPoint := ht.OpenChannel(
dave, carol, lntest.OpenChannelParams{
Amt: chanAmt,
Private: privateChan,
CommitmentType: commitType,
Amt: chanAmt,
Private: privateChan,
},
)
@@ -436,9 +437,10 @@ func revokedCloseRetributionRemoteHodlCase(ht *lntest.HarnessTest,
privateChan := commitType == lnrpc.CommitmentType_SIMPLE_TAPROOT
chanPoint := ht.OpenChannel(
dave, carol, lntest.OpenChannelParams{
Amt: chanAmt,
PushAmt: pushAmt,
Private: privateChan,
Amt: chanAmt,
PushAmt: pushAmt,
Private: privateChan,
CommitmentType: commitType,
},
)