Skip to content

Commit c169839

Browse files
committed
itest: wait for channel ready on restart test
1 parent 0946724 commit c169839

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

itest/restart_lsp_node_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ func testRestartLspNode(p *testParams) {
5959

6060
log.Printf("Connect Bob to LSP again")
6161
p.BreezClient().Node().ConnectPeer(p.lsp.LightningNode())
62+
alice.WaitForChannelReady(channel)
6263

6364
log.Printf("Alice paying")
6465
payResp := alice.Pay(outerInvoice.bolt11)

0 commit comments

Comments
 (0)