mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Allow -onlynet=onion to be used
Just an alias for onlynet=tor, but matches the new name of the proxy option -onion= better.
This commit is contained in:
@@ -47,7 +47,7 @@ enum Network ParseNetwork(std::string net) {
|
||||
boost::to_lower(net);
|
||||
if (net == "ipv4") return NET_IPV4;
|
||||
if (net == "ipv6") return NET_IPV6;
|
||||
if (net == "tor") return NET_TOR;
|
||||
if (net == "tor" || net == "onion") return NET_TOR;
|
||||
return NET_UNROUTABLE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user