mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
netbase: Remove "tor" as a network specification
"tor" as a network specification was deprecated in 60dc8e4208 in favor
of "onion" and this commit removes it and updates the relevant test.
Co-authored-by: Mara van der Laan <126646+laanwj@users.noreply.github.com>
This commit is contained in:
@@ -1683,7 +1683,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
|
||||
ipv4_proxy = name_proxy = proxy;
|
||||
} else if (net_str == "ipv6") {
|
||||
ipv6_proxy = name_proxy = proxy;
|
||||
} else if (net_str == "tor" || net_str == "onion") {
|
||||
} else if (net_str == "onion") {
|
||||
onion_proxy = proxy;
|
||||
} else if (net_str == "cjdns") {
|
||||
cjdns_proxy = proxy;
|
||||
|
||||
Reference in New Issue
Block a user