Remove strand assert (#1905)

This commit is contained in:
cryptocode 2019-04-13 19:22:43 +02:00 committed by GitHub
commit f1bd2a5496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -329,7 +329,6 @@ void nano::transport::udp_channels::receive ()
auto data (node.network.buffer_container.allocate ());
assert (strand.running_in_this_thread ());
socket.async_receive_from (boost::asio::buffer (data->buffer, nano::network::buffer_size), data->endpoint,
boost::asio::bind_executor (strand,
[this, data](boost::system::error_code const & error, std::size_t size_a) {