diff --git a/llarp/nodedb.cpp b/llarp/nodedb.cpp index 38d0ca3f78..5f78f84d5f 100644 --- a/llarp/nodedb.cpp +++ b/llarp/nodedb.cpp @@ -525,13 +525,6 @@ llarp_nodedb::select_random_exit(llarp::RouterContact &result) return false; } -bool -llarp_nodedb::select_random_hop(const llarp::RouterContact &prev, - llarp::RouterContact &result, size_t N) -{ - (void)N; - return select_random_hop_excluding(result, {prev.pubkey}); -} bool llarp_nodedb::select_random_hop_excluding( diff --git a/llarp/nodedb.hpp b/llarp/nodedb.hpp index 90c959a5dd..90790e4603 100644 --- a/llarp/nodedb.hpp +++ b/llarp/nodedb.hpp @@ -154,10 +154,6 @@ struct llarp_nodedb bool select_random_exit(llarp::RouterContact &rc) EXCLUDES(access); - bool - select_random_hop(const llarp::RouterContact &prev, - llarp::RouterContact &result, size_t N) EXCLUDES(access); - bool select_random_hop_excluding(llarp::RouterContact &result, const std::set< llarp::RouterID > &exclude)