mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-23 10:22:44 +02:00
test: Pass down correct chain name in tests
This commit is contained in:
@@ -480,7 +480,7 @@ class TestNode():
|
||||
if 'dstaddr' not in kwargs:
|
||||
kwargs['dstaddr'] = '127.0.0.1'
|
||||
|
||||
p2p_conn.peer_connect(**kwargs)()
|
||||
p2p_conn.peer_connect(**kwargs, net=self.chain)()
|
||||
self.p2ps.append(p2p_conn)
|
||||
if wait_for_verack:
|
||||
p2p_conn.wait_for_verack()
|
||||
|
Reference in New Issue
Block a user