@@ -1011,21 +1011,6 @@ func testMPPToSingleBlindedPath(ht *lntest.HarnessTest) {
1011
1011
}
1012
1012
}
1013
1013
require .Equal (ht , succeeded , settled , "num of HTLCs wrong" )
1014
-
1015
- // Close all channels without mining the closing transactions.
1016
- ht .CloseChannelAssertPending (alice , channelPoints [0 ], false )
1017
- ht .CloseChannelAssertPending (alice , channelPoints [1 ], false )
1018
- ht .CloseChannelAssertPending (bob , channelPoints [2 ], false )
1019
- ht .CloseChannelAssertPending (eve , channelPoints [3 ], false )
1020
- ht .CloseChannelAssertPending (carol , channelPoints [4 ], false )
1021
-
1022
- // Now mine a block to include all the closing transactions.
1023
- ht .MineBlocksAndAssertNumTxes (1 , 5 )
1024
-
1025
- // Assert that the channels are closed.
1026
- for _ , hn := range nodes {
1027
- ht .AssertNumWaitingClose (hn , 0 )
1028
- }
1029
1014
}
1030
1015
1031
1016
// testBlindedRouteDummyHops tests that the route blinding flow works as
@@ -1189,19 +1174,6 @@ func testBlindedRouteDummyHops(ht *lntest.HarnessTest) {
1189
1174
// Make sure Dave show the invoice as settled.
1190
1175
inv = dave .RPC .LookupInvoice (invoiceResp .RHash )
1191
1176
require .Equal (ht , lnrpc .Invoice_SETTLED , inv .State )
1192
-
1193
- // Close all channels without mining the closing transactions.
1194
- ht .CloseChannelAssertPending (alice , channelPoints [0 ], false )
1195
- ht .CloseChannelAssertPending (bob , channelPoints [1 ], false )
1196
- ht .CloseChannelAssertPending (carol , channelPoints [2 ], false )
1197
-
1198
- // Now mine a block to include all the closing transactions.
1199
- ht .MineBlocksAndAssertNumTxes (1 , 3 )
1200
-
1201
- // Assert that the channels are closed.
1202
- for _ , hn := range nodes {
1203
- ht .AssertNumWaitingClose (hn , 0 )
1204
- }
1205
1177
}
1206
1178
1207
1179
// testMPPToMultipleBlindedPaths tests that a two-shard MPP payment can be sent
@@ -1355,21 +1327,6 @@ func testMPPToMultipleBlindedPaths(ht *lntest.HarnessTest) {
1355
1327
}
1356
1328
}
1357
1329
require .Equal (ht , succeeded , settled , "num of HTLCs wrong" )
1358
-
1359
- // Close all channels without mining the closing transactions.
1360
- ht .CloseChannelAssertPending (alice , channelPoints [0 ], false )
1361
- ht .CloseChannelAssertPending (alice , channelPoints [1 ], false )
1362
- ht .CloseChannelAssertPending (bob , channelPoints [2 ], false )
1363
- ht .CloseChannelAssertPending (carol , channelPoints [3 ], false )
1364
-
1365
- // Now mine a block to include all the closing transactions. (first
1366
- // iteration: no blinded paths)
1367
- ht .MineBlocksAndAssertNumTxes (1 , 4 )
1368
-
1369
- // Assert that the channels are closed.
1370
- for _ , hn := range nodes {
1371
- ht .AssertNumWaitingClose (hn , 0 )
1372
- }
1373
1330
}
1374
1331
1375
1332
// testBlindedPaymentHTLCReForward tests that an UpdateAddHTLC message is
0 commit comments