MCPcopy
hub / github.com/bnb-chain/bsc / Resolve

Method Resolve

p2p/dial_test.go:666–672  ·  view source on GitHub ↗
(n *enode.Node)

Source from the content-addressed store, hash-verified

664}
665
666func (t *dialTestResolver) Resolve(n *enode.Node) *enode.Node {
667 t.mu.Lock()
668 defer t.mu.Unlock()
669
670 t.calls = append(t.calls, n.ID())
671 return t.answers[n.ID()]
672}

Callers

nothing calls this directly

Calls 3

LockMethod · 0.80
IDMethod · 0.65
UnlockMethod · 0.45

Tested by

no test coverage detected