From ea7ea33e24a6672a0aec1c3ff62b91666951a65f Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 14 Jul 2021 18:34:06 -0700 Subject: [PATCH] lntest/itest: log node name in addition to ID if waitForChannels fails --- lntest/itest/lnd_mpp_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lntest/itest/lnd_mpp_test.go b/lntest/itest/lnd_mpp_test.go index 15a95d316..8fd1f752d 100644 --- a/lntest/itest/lnd_mpp_test.go +++ b/lntest/itest/lnd_mpp_test.go @@ -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) } } }