mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-27 19:46:22 +02:00
itest: remove unnecessary shutdown
This commit is contained in:
@@ -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)
|
||||
|
||||
|
@@ -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)
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user