mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 14:40:51 +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:
@@ -30,7 +30,7 @@ func testQuiescence(ht *lntest.HarnessTest) {
|
||||
require.True(ht, res.Initiator)
|
||||
|
||||
req := &routerrpc.SendPaymentRequest{
|
||||
Dest: ht.Alice.PubKey[:],
|
||||
Dest: alice.PubKey[:],
|
||||
Amt: 100,
|
||||
PaymentHash: ht.Random32Bytes(),
|
||||
FinalCltvDelta: finalCltvDelta,
|
||||
@@ -39,7 +39,7 @@ func testQuiescence(ht *lntest.HarnessTest) {
|
||||
}
|
||||
|
||||
ht.SendPaymentAssertFail(
|
||||
ht.Bob, req,
|
||||
bob, req,
|
||||
// This fails with insufficient balance because the bandwidth
|
||||
// manager reports 0 bandwidth if a link is not eligible for
|
||||
// forwarding, which is the case during quiescence.
|
||||
|
Reference in New Issue
Block a user