test: in testBasicChannelFunding also wait for bob to see channel

This commit is contained in:
Olaoluwa Osuntokun 2017-10-18 15:13:36 -07:00
parent ee49cdd103
commit 46d4f7216e
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -359,6 +359,10 @@ func testBasicChannelFunding(net *networkHarness, t *harnessTest) {
if err != nil {
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
// properly been pushed to Bob.