mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 19:23:41 +02: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:
@@ -468,8 +468,8 @@ class ProxyTest(BitcoinTestFramework):
|
||||
assert_equal(nets["ipv6"]["proxy"], "127.6.6.6:6666")
|
||||
self.stop_node(1)
|
||||
|
||||
self.log.info("Test overriding the Tor proxy")
|
||||
self.start_node(1, extra_args=["-proxy=127.1.1.1:1111", "-proxy=127.2.2.2:2222=tor"])
|
||||
self.log.info("Test overriding the Onion proxy")
|
||||
self.start_node(1, extra_args=["-proxy=127.1.1.1:1111", "-proxy=127.2.2.2:2222=onion"])
|
||||
nets = networks_dict(self.nodes[1].getnetworkinfo())
|
||||
assert_equal(nets["ipv4"]["proxy"], "127.1.1.1:1111")
|
||||
assert_equal(nets["ipv6"]["proxy"], "127.1.1.1:1111")
|
||||
|
||||
Reference in New Issue
Block a user