aboutsummaryrefslogtreecommitdiff
path: root/src/test/util
diff options
context:
space:
mode:
authordergoegge <n.goeggi@gmail.com>2022-05-26 15:49:10 +0200
committerdergoegge <n.goeggi@gmail.com>2022-07-04 14:58:43 +0200
commita3c27070396ab8c2941c437e8099547e8fc9c110 (patch)
treea2c68e898dff549ae3e53c523eb90a35fdc9e9cd /src/test/util
parent42aa5d5b6269d27af525d5001907558442e96023 (diff)
downloadbitcoin-a3c27070396ab8c2941c437e8099547e8fc9c110.tar.xz
[net] Add connection type to NodeEvictionCandidate
Diffstat (limited to 'src/test/util')
-rw-r--r--src/test/util/net.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/util/net.cpp b/src/test/util/net.cpp
index 26b3acc677..bbcee6a5c8 100644
--- a/src/test/util/net.cpp
+++ b/src/test/util/net.cpp
@@ -59,6 +59,7 @@ std::vector<NodeEvictionCandidate> GetRandomNodeEvictionCandidates(int n_candida
/*m_is_local=*/random_context.randbool(),
/*m_network=*/ALL_NETWORKS[random_context.randrange(ALL_NETWORKS.size())],
/*m_noban=*/false,
+ /*m_conn_type=*/ConnectionType::INBOUND,
});
}
return candidates;