func (m *mpeer) Peer() *peer.Peer {
	return m.peer.Load().(*peer.Peer)
}
Peer returns the wrapped peer.Peer.
package discover
import (
	"fmt"
	"github.com/iotaledger/hive.go/autopeering/peer"
	"github.com/iotaledger/hive.go/identity"
	"go.uber.org/atomic"
)
type mpeer struct {
	peer          atomic.Value
	verifiedCount atomic.Uint32  
	lastNewPeers  atomic.Uint32  
}