aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-12-04 19:02:00 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2020-12-15 01:32:15 +0000
commit8e62362cd3cf60425604109ca5ecd82c2a0209ee (patch)
treee4b29ec3c61f8353f0a5b271d49e270f85eb5933 /src/p2p/net_node.inl
parentMerge pull request #7058 (diff)
downloadmonero-8e62362cd3cf60425604109ca5ecd82c2a0209ee.tar.xz
p2p: ifx getting seed nodes for uncommon cases
The code is technically correct, but liable to easily become incorrect with changes
Diffstat (limited to 'src/p2p/net_node.inl')
-rw-r--r--src/p2p/net_node.inl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 93a925971..6df7f36ca 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -799,6 +799,7 @@ namespace nodetool
"4pixvbejrvihnkxmduo2agsnmc3rrulrqc7s3cbwwrep6h6hrzsibeqd.onion:18083"
};
}
+ return {};
case epee::net_utils::zone::i2p:
if (m_nettype == cryptonote::MAINNET)
{
@@ -806,7 +807,8 @@ namespace nodetool
"s3l6ke4ed3df466khuebb4poienoingwof7oxtbo6j4n56sghe3a.b32.i2p:18080",
"sel36x6fibfzujwvt4hf5gxolz6kd3jpvbjqg6o3ud2xtionyl2q.b32.i2p:18080"
};
- }
+ }
+ return {};
default:
break;
}