mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-10 15:10:48 +02:00
Merge pull request #6194 from zdebra/master
itest: fix documentation for LookupNodeByPub [skip ci]
This commit is contained in:
@@ -117,8 +117,7 @@ func NewNetworkHarness(m *HarnessMiner, b BackendConfig, lndBinary string,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// LookUpNodeByPub queries the set of active nodes to locate a node according
|
// 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
|
// to its public key. The error is returned if the node was not found.
|
||||||
// false otherwise.
|
|
||||||
func (n *NetworkHarness) LookUpNodeByPub(pubStr string) (*HarnessNode, error) {
|
func (n *NetworkHarness) LookUpNodeByPub(pubStr string) (*HarnessNode, error) {
|
||||||
n.mtx.Lock()
|
n.mtx.Lock()
|
||||||
defer n.mtx.Unlock()
|
defer n.mtx.Unlock()
|
||||||
|
Reference in New Issue
Block a user