itest: remove unnecessary shutdown

This commit is contained in:
yyforyongyu
2022-10-21 18:19:25 +08:00
parent 8b9ccfe310
commit a080375b7d
3 changed files with 0 additions and 7 deletions

View File

@@ -355,10 +355,7 @@ func testAnchorThirdPartySpend(ht *lntest.HarnessTest) {
// lnd binary.
args := lntest.NodeArgsForCommitType(lnrpc.CommitmentType_ANCHORS)
alice := ht.NewNode("Alice", args)
defer ht.Shutdown(alice)
bob := ht.NewNode("Bob", args)
defer ht.Shutdown(bob)
ht.EnsureConnected(alice, bob)

View File

@@ -421,10 +421,7 @@ func testPsbtChanFundingSingleStep(ht *lntest.HarnessTest) {
// between for this test. But in this case both nodes have an empty
// wallet.
carol := ht.NewNode("carol", args)
defer ht.Shutdown(carol)
dave := ht.NewNode("dave", args)
defer ht.Shutdown(dave)
alice := ht.Alice
ht.FundCoins(btcutil.SatoshiPerBitcoin, alice)

View File

@@ -29,7 +29,6 @@ func testResHandoff(ht *lntest.HarnessTest) {
// trigger the behavior of checkRemoteDanglingActions in the
// contractcourt. This will cause Bob to fail the HTLC back to Alice.
carol := ht.NewNode("Carol", []string{"--hodl.commit"})
defer ht.Shutdown(carol)
// Connect Bob to Carol.
ht.ConnectNodes(bob, carol)