diff --git a/lnd_test.go b/lnd_test.go index 2ef18af1..9f1b8934 100644 --- a/lnd_test.go +++ b/lnd_test.go @@ -1145,11 +1145,14 @@ func testListPayments(net *networkHarness, t *harnessTest) { // Wait for Alice to recognize and advertise the new channel generated // above. ctxt, _ = context.WithTimeout(ctxb, timeout) - err = net.Alice.WaitForNetworkChannelOpen(ctxt, chanPoint) - if err != nil { + if err = net.Alice.WaitForNetworkChannelOpen(ctxt, chanPoint); err != nil { t.Fatalf("alice didn't advertise channel before "+ "timeout: %v", err) } + if err = net.Bob.WaitForNetworkChannelOpen(ctxt, chanPoint); err != nil { + t.Fatalf("bob didn't advertise channel before "+ + "timeout: %v", err) + } // With the invoice for Bob added, send a payment towards Alice paying // to the above generated invoice.