From fef8261339899fe526777a7aa42df57ca02021c5 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Wed, 24 Apr 2024 07:44:35 +0200 Subject: [PATCH] Do not access node ID when node is not found (#1912) --- 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)