aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/mininode.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-08-05 10:54:44 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-08-16 10:34:01 -0400
commitfa31dc1bf4ee471c4641eef8de02702ba0619ae7 (patch)
tree4b77c531e2824db42ee78416e2c340b1a58cdb02 /test/functional/test_framework/mininode.py
parentaed15edf179d75f4835da499de8c97a76120bcb4 (diff)
test: Pass down correct chain name in tests
Diffstat (limited to 'test/functional/test_framework/mininode.py')
-rwxr-xr-xtest/functional/test_framework/mininode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/mininode.py b/test/functional/test_framework/mininode.py
index 779863df79..166438cf70 100755
--- a/test/functional/test_framework/mininode.py
+++ b/test/functional/test_framework/mininode.py
@@ -111,7 +111,7 @@ class P2PConnection(asyncio.Protocol):
def is_connected(self):
return self._transport is not None
- def peer_connect(self, dstaddr, dstport, net="regtest"):
+ def peer_connect(self, dstaddr, dstport, *, net):
assert not self.is_connected
self.dstaddr = dstaddr
self.dstport = dstport