mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-24 06:47:44 +01:00
Merge pull request #6194 from zdebra/master
itest: fix documentation for LookupNodeByPub [skip ci]
This commit is contained in:
commit
bf4b47caa9
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue