mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-07-03 03:53:10 +02:00
lntest/itest: log node name in addition to ID if waitForChannels fails
This commit is contained in:
@ -346,9 +346,9 @@ func (c *mppTestContext) waitForChannels() {
|
|||||||
ctxt, _ := context.WithTimeout(ctxb, defaultTimeout)
|
ctxt, _ := context.WithTimeout(ctxb, defaultTimeout)
|
||||||
err = node.WaitForNetworkChannelOpen(ctxt, chanPoint)
|
err = node.WaitForNetworkChannelOpen(ctxt, chanPoint)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
c.t.Fatalf("(%d): timeout waiting for "+
|
c.t.Fatalf("(%v:%d): timeout waiting for "+
|
||||||
"channel(%s) open: %v",
|
"channel(%s) open: %v",
|
||||||
node.NodeID, point, err)
|
node.Cfg.Name, node.NodeID, point, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user