mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-10 15:42:49 +02:00
itest: remove unnecessary shutdown
This commit is contained in:
@@ -355,10 +355,7 @@ func testAnchorThirdPartySpend(ht *lntest.HarnessTest) {
|
|||||||
// lnd binary.
|
// lnd binary.
|
||||||
args := lntest.NodeArgsForCommitType(lnrpc.CommitmentType_ANCHORS)
|
args := lntest.NodeArgsForCommitType(lnrpc.CommitmentType_ANCHORS)
|
||||||
alice := ht.NewNode("Alice", args)
|
alice := ht.NewNode("Alice", args)
|
||||||
defer ht.Shutdown(alice)
|
|
||||||
|
|
||||||
bob := ht.NewNode("Bob", args)
|
bob := ht.NewNode("Bob", args)
|
||||||
defer ht.Shutdown(bob)
|
|
||||||
|
|
||||||
ht.EnsureConnected(alice, 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
|
// between for this test. But in this case both nodes have an empty
|
||||||
// wallet.
|
// wallet.
|
||||||
carol := ht.NewNode("carol", args)
|
carol := ht.NewNode("carol", args)
|
||||||
defer ht.Shutdown(carol)
|
|
||||||
|
|
||||||
dave := ht.NewNode("dave", args)
|
dave := ht.NewNode("dave", args)
|
||||||
defer ht.Shutdown(dave)
|
|
||||||
|
|
||||||
alice := ht.Alice
|
alice := ht.Alice
|
||||||
ht.FundCoins(btcutil.SatoshiPerBitcoin, alice)
|
ht.FundCoins(btcutil.SatoshiPerBitcoin, alice)
|
||||||
|
@@ -29,7 +29,6 @@ func testResHandoff(ht *lntest.HarnessTest) {
|
|||||||
// trigger the behavior of checkRemoteDanglingActions in the
|
// trigger the behavior of checkRemoteDanglingActions in the
|
||||||
// contractcourt. This will cause Bob to fail the HTLC back to Alice.
|
// contractcourt. This will cause Bob to fail the HTLC back to Alice.
|
||||||
carol := ht.NewNode("Carol", []string{"--hodl.commit"})
|
carol := ht.NewNode("Carol", []string{"--hodl.commit"})
|
||||||
defer ht.Shutdown(carol)
|
|
||||||
|
|
||||||
// Connect Bob to Carol.
|
// Connect Bob to Carol.
|
||||||
ht.ConnectNodes(bob, carol)
|
ht.ConnectNodes(bob, carol)
|
||||||
|
Reference in New Issue
Block a user