From 2f1ea32162031c5e79698207e145253d849dd6ae Mon Sep 17 00:00:00 2001 From: Stefan Bratanov Date: Wed, 26 Jun 2024 13:33:55 +0100 Subject: [PATCH] couple of TODOs --- .../teku/networking/p2p/discovery/discv5/DiscV5Service.java | 1 + .../networking/p2p/discovery/discv5/NodeRecordConverter.java | 1 + 2 files changed, 2 insertions(+) diff --git a/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/discovery/discv5/DiscV5Service.java b/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/discovery/discv5/DiscV5Service.java index 475973baede..653cdf34417 100644 --- a/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/discovery/discv5/DiscV5Service.java +++ b/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/discovery/discv5/DiscV5Service.java @@ -261,6 +261,7 @@ public Optional getNodeId() { @Override public Optional getDiscoveryAddress() { + // TODO: https://github.com/Consensys/teku/issues/8069 final NodeRecord nodeRecord = discoverySystem.getLocalNodeRecord(); if (nodeRecord.getUdpAddress().isEmpty()) { return Optional.empty(); diff --git a/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/discovery/discv5/NodeRecordConverter.java b/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/discovery/discv5/NodeRecordConverter.java index 21d34ee20e8..fb56864a663 100644 --- a/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/discovery/discv5/NodeRecordConverter.java +++ b/networking/p2p/src/main/java/tech/pegasys/teku/networking/p2p/discovery/discv5/NodeRecordConverter.java @@ -36,6 +36,7 @@ public class NodeRecordConverter { public Optional convertToDiscoveryPeer( final NodeRecord nodeRecord, final SchemaDefinitions schemaDefinitions) { + //TODO: https://github.com/Consensys/teku/issues/8069 return nodeRecord .getTcpAddress() .or(nodeRecord::getTcp6Address)