From 0048a0f54d27cca39b2f29d533951d4438a47648 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Wed, 24 Apr 2024 16:20:40 +0200 Subject: [PATCH] Update p2p/discover/table_reval.go Co-authored-by: Martin HS --- p2p/discover/table_reval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/discover/table_reval.go b/p2p/discover/table_reval.go index 3dcc5fba05..5b6dd848a0 100644 --- a/p2p/discover/table_reval.go +++ b/p2p/discover/table_reval.go @@ -148,7 +148,7 @@ func (tr *tableRevalidation) handleResponse(tab *Table, resp revalidationRespons n.isValidatedLive = true var endpointChanged bool if resp.newRecord != nil { - endpointChanged := tab.bumpInBucket(b, resp.newRecord) + endpointChanged = tab.bumpInBucket(b, resp.newRecord) if endpointChanged { // If the node changed its advertised endpoint, the updated ENR is not served // until it has been revalidated.