test: in testBasicChannelFunding also wait for bob to see channel
This commit is contained in:
parent
ee49cdd103
commit
46d4f7216e
@ -359,6 +359,10 @@ func testBasicChannelFunding(net *networkHarness, t *harnessTest) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("alice didn't report channel: %v", err)
|
t.Fatalf("alice didn't report channel: %v", err)
|
||||||
}
|
}
|
||||||
|
err = net.Bob.WaitForNetworkChannelOpen(ctxt, chanPoint)
|
||||||
|
if err != nil {
|
||||||
|
t.Fatalf("bob didn't report channel: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
// With then channel open, ensure that the amount specified above has
|
// With then channel open, ensure that the amount specified above has
|
||||||
// properly been pushed to Bob.
|
// properly been pushed to Bob.
|
||||||
|
Loading…
Reference in New Issue
Block a user