diff --git a/p2p/enode/localnode.go b/p2p/enode/localnode.go index d8aa02a77e26..ae1eb9746a32 100644 --- a/p2p/enode/localnode.go +++ b/p2p/enode/localnode.go @@ -106,6 +106,11 @@ func (ln *LocalNode) Seq() uint64 { return ln.seq } +// Returns the entries stored in the localnode +func (ln *LocalNode) Entries() map[string]enr.Entry { + return ln.entries +} + // ID returns the local node ID. func (ln *LocalNode) ID() ID { return ln.id