From 6baf7af79ee1cf566b07e1dfa599631b4df37c53 Mon Sep 17 00:00:00 2001 From: zdebra Date: Sun, 23 Jan 2022 18:00:24 +0100 Subject: [PATCH] itest: fix documentation for LookupNodeByPub [skip ci] --- lntest/harness_net.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lntest/harness_net.go b/lntest/harness_net.go index c4c7b2a87..0d33000f7 100644 --- a/lntest/harness_net.go +++ b/lntest/harness_net.go @@ -117,8 +117,7 @@ func NewNetworkHarness(m *HarnessMiner, b BackendConfig, lndBinary string, } // LookUpNodeByPub queries the set of active nodes to locate a node according -// to its public key. The second value will be true if the node was found, and -// false otherwise. +// to its public key. The error is returned if the node was not found. func (n *NetworkHarness) LookUpNodeByPub(pubStr string) (*HarnessNode, error) { n.mtx.Lock() defer n.mtx.Unlock()