mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-21 17:18:43 +02:00
proxy: fix only allow onion services with feather managed daemon
This commit is contained in:
+2
-1
@@ -208,7 +208,8 @@ void Nodes::connectToNode(const FeatherNode &node) {
|
||||
}
|
||||
|
||||
if (config()->get(Config::proxy).toInt() == Config::Proxy::Tor && config()->get(Config::torOnlyAllowOnion).toBool()) {
|
||||
if (!node.isOnion()) {
|
||||
if (!node.isOnion() && !node.isLocal()) {
|
||||
// We only want to connect to .onion nodes, but local nodes get an exception.
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user