Skip to content

Commit

Permalink
test: update feature_proxy to torv3
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatack committed May 27, 2021
1 parent ea1e5c2 commit 0f1c58a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/feature_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ def node_test(self, node, proxies, auth, test_onion=True):
self.network_test(node, addr, network=NET_IPV6)

if test_onion:
addr = "bitcoinostk4e4re.onion:8333"
addr = "pg6mmjiyjmcrsslvykfwnntlaru7p5svn6y2ymmju6nubxndf4pscryd.onion:8333"
self.log.debug("Test: outgoing onion connection through node for address {}".format(addr))
node.addnode(addr, "onetry")
cmd = proxies[2].queue.get()
assert isinstance(cmd, Socks5Command)
assert_equal(cmd.atyp, AddressType.DOMAINNAME)
assert_equal(cmd.addr, b"bitcoinostk4e4re.onion")
assert_equal(cmd.addr, b"pg6mmjiyjmcrsslvykfwnntlaru7p5svn6y2ymmju6nubxndf4pscryd.onion")
assert_equal(cmd.port, 8333)
if not auth:
assert_equal(cmd.username, None)
Expand Down

0 comments on commit 0f1c58a

Please sign in to comment.