Remove GetNetworkMap stacktrace(#1941)

This commit is contained in:
pascal-fischer
2024-05-07 19:19:30 +02:00
committed by GitHub
parent 920877964f
commit 0a75da6fb7

View File

@ -11,7 +11,6 @@ import (
"net/netip"
"reflect"
"regexp"
"runtime/debug"
"strings"
"sync"
"time"
@ -389,8 +388,6 @@ func (a *Account) GetGroup(groupID string) *nbgroup.Group {
// GetPeerNetworkMap returns a group by ID if exists, nil otherwise
func (a *Account) GetPeerNetworkMap(peerID, dnsDomain string, validatedPeersMap map[string]struct{}) *NetworkMap {
log.Debugf("GetNetworkMap with trace: %s", string(debug.Stack()))
peer := a.Peers[peerID]
if peer == nil {
return &NetworkMap{