aboutsummaryrefslogtreecommitdiff
path: root/src/test/net_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/net_tests.cpp')
-rw-r--r--src/test/net_tests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp
index 3c9227cfc4..508c42cabc 100644
--- a/src/test/net_tests.cpp
+++ b/src/test/net_tests.cpp
@@ -1046,10 +1046,10 @@ class V2TransportTester
public:
/** Construct a tester object. test_initiator: whether the tested transport is initiator. */
- V2TransportTester(bool test_initiator) :
- m_transport(0, test_initiator, SER_NETWORK, INIT_PROTO_VERSION),
- m_cipher{GenerateRandomTestKey(), MakeByteSpan(InsecureRand256())},
- m_test_initiator(test_initiator) {}
+ explicit V2TransportTester(bool test_initiator)
+ : m_transport{0, test_initiator},
+ m_cipher{GenerateRandomTestKey(), MakeByteSpan(InsecureRand256())},
+ m_test_initiator(test_initiator) {}
/** Data type returned by Interact:
*