aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl
diff options
context:
space:
mode:
Diffstat (limited to 'src/p2p/net_node.inl')
-rw-r--r--src/p2p/net_node.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index ebe1ba5a2..99ce94eb4 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -1755,7 +1755,7 @@ namespace nodetool
{
peerlist_entry pe = AUTO_VAL_INIT(pe);
- if (!m_peerlist.get_gray_peer_random(pe)) {
+ if (!m_peerlist.get_random_gray_peer(pe)) {
return false;
}