Skip to content

Commit

Permalink
test_gossip: Default port for regtest
Browse files Browse the repository at this point in the history
hex: 2607 is now 4d86
dec: 9735 is now 19846
  • Loading branch information
jsarenik committed Nov 5, 2021
1 parent 30f76f0 commit aaf1dbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_gossip.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def test_announce_address(node_factory, bitcoind):
l1.daemon.wait_for_log(r"\[OUT\] 0101.*47"
"010102030404d2"
"017f000001...."
"02000000000000000000000000000000002607"
"04e00533f3e8f2aedaa8969b3d0fa03a96e857bbb28064dca5e147e934244b9ba50230032607")
"02000000000000000000000000000000004d86"
"04e00533f3e8f2aedaa8969b3d0fa03a96e857bbb28064dca5e147e934244b9ba50230034d86")


@pytest.mark.developer("needs DEVELOPER=1")
Expand Down Expand Up @@ -935,7 +935,7 @@ def test_gossip_addresses(node_factory, bitcoind):
{'type': 'ipv4', 'address': '127.0.0.1', 'port': 2},
{'type': 'ipv6', 'address': '::', 'port': 3},
{'type': 'torv2', 'address': '3fyb44wdhnd2ghhl.onion', 'port': 1234},
{'type': 'torv3', 'address': 'vww6ybal4bd7szmgncyruucpgfkqahzddi37ktceo3ah7ngmcopnpyyd.onion', 'port': 9735}
{'type': 'torv3', 'address': 'vww6ybal4bd7szmgncyruucpgfkqahzddi37ktceo3ah7ngmcopnpyyd.onion', 'port': 19846}
]


Expand Down Expand Up @@ -1806,7 +1806,7 @@ def test_statictor_onions(node_factory):
})

assert l1.daemon.is_in_log('127.0.0.1:{}'.format(l1.port))
assert l2.daemon.is_in_log('x2y4zvh4fn5q3eouuh7nxnc7zeawrqoutljrup2xjtiyxgx3emgkemad.onion:9735,127.0.0.1:{}'.format(l2.port))
assert l2.daemon.is_in_log('x2y4zvh4fn5q3eouuh7nxnc7zeawrqoutljrup2xjtiyxgx3emgkemad.onion:19846,127.0.0.1:{}'.format(l2.port))


@pytest.mark.developer("needs a running Tor service instance at port 9151 or 9051")
Expand Down

0 comments on commit aaf1dbf

Please sign in to comment.