lntest/itest: log node name in addition to ID if waitForChannels fails

This commit is contained in:
Olaoluwa Osuntokun committed 2021-07-14 20:11:54 -07:00
1 parent edd4152682
commit ea7ea33e24
1 file changed
+2 -2
+2 -2
View File
@@ -346,9 +346,9 @@ func (c *mppTestContext) waitForChannels() {
ctxt, _ := context.WithTimeout(ctxb, defaultTimeout)
err = node.WaitForNetworkChannelOpen(ctxt, chanPoint)
if err != nil {
c.t.Fatalf("(%d): timeout waiting for "+
c.t.Fatalf("(%v:%d): timeout waiting for "+
"channel(%s) open: %v",
node.NodeID, point, err)
node.Cfg.Name, node.NodeID, point, err)
}
}
}