diff --git a/nano/node/transport/socket.cpp b/nano/node/transport/socket.cpp index 316efe14c2..368ca10d67 100644 --- a/nano/node/transport/socket.cpp +++ b/nano/node/transport/socket.cpp @@ -304,13 +304,6 @@ std::chrono::seconds nano::transport::socket::get_default_timeout_value () const return default_timeout; } -void nano::transport::socket::set_silent_connection_tolerance_time (std::chrono::seconds tolerance_time_a) -{ - boost::asio::dispatch (strand, [this_l = shared_from_this (), tolerance_time_a] () { - this_l->silent_connection_tolerance_time = tolerance_time_a; - }); -} - void nano::transport::socket::close () { boost::asio::dispatch (strand, [this_l = shared_from_this ()] { diff --git a/nano/node/transport/socket.hpp b/nano/node/transport/socket.hpp index 91f7d008fc..b0b1096072 100644 --- a/nano/node/transport/socket.hpp +++ b/nano/node/transport/socket.hpp @@ -86,7 +86,6 @@ class socket final : public std::enable_shared_from_this