Skip to content

Commit

Permalink
couple of TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed Jul 1, 2024
1 parent 85eaee0 commit 2f1ea32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ public Optional<Bytes> getNodeId() {

@Override
public Optional<String> getDiscoveryAddress() {
// TODO: https://github.com/Consensys/teku/issues/8069
final NodeRecord nodeRecord = discoverySystem.getLocalNodeRecord();
if (nodeRecord.getUdpAddress().isEmpty()) {
return Optional.empty();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public class NodeRecordConverter {

public Optional<DiscoveryPeer> convertToDiscoveryPeer(
final NodeRecord nodeRecord, final SchemaDefinitions schemaDefinitions) {
//TODO: https://github.com/Consensys/teku/issues/8069
return nodeRecord
.getTcpAddress()
.or(nodeRecord::getTcp6Address)
Expand Down

0 comments on commit 2f1ea32

Please sign in to comment.