From 459c2afab2503c8801aa4e769f5d21b6d550101e Mon Sep 17 00:00:00 2001 From: Juan Font Date: Tue, 23 Apr 2024 20:46:07 +0200 Subject: [PATCH] Do not access node ID when node is not found --- hscontrol/noise.go | 1 - 1 file changed, 1 deletion(-) diff --git a/hscontrol/noise.go b/hscontrol/noise.go index 9ddf2c85..7fcbc252 100644 --- a/hscontrol/noise.go +++ b/hscontrol/noise.go @@ -226,7 +226,6 @@ func (ns *noiseServer) NoisePollNetMapHandler( if err != nil { log.Error(). Str("handler", "NoisePollNetMap"). - Uint64("node.id", node.ID.Uint64()). Msgf("Failed to fetch node from the database with node key: %s", mapRequest.NodeKey.String()) http.Error(writer, "Internal error", http.StatusInternalServerError)