mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-30 23:53:41 +02:00
itest: remove direct reference to stanby nodes
Prepares the upcoming refactor. We now never call `ht.Alice` directly, instead, we always init `alice := ht.Alice` so it's easier to see how they are removed in a following commit.
This commit is contained in:
@@ -402,14 +402,16 @@ func testUnconfirmedChannelFunding(ht *lntest.HarnessTest) {
|
||||
// testChannelFundingInputTypes tests that any type of supported input type can
|
||||
// be used to fund channels.
|
||||
func testChannelFundingInputTypes(ht *lntest.HarnessTest) {
|
||||
alice := ht.Alice
|
||||
|
||||
// We'll start off by creating a node for Carol.
|
||||
carol := ht.NewNode("Carol", nil)
|
||||
|
||||
// Now, we'll connect her to Alice so that they can open a
|
||||
// channel together.
|
||||
ht.ConnectNodes(carol, ht.Alice)
|
||||
ht.ConnectNodes(carol, alice)
|
||||
|
||||
runChannelFundingInputTypes(ht, ht.Alice, carol)
|
||||
runChannelFundingInputTypes(ht, alice, carol)
|
||||
}
|
||||
|
||||
// runChannelFundingInputTypes tests that any type of supported input type can
|
||||
|
Reference in New Issue
Block a user