Skip to content

Commit

Permalink
Comment for not removing requests.front ()
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiySW committed Apr 8, 2020
1 parent 922cb22 commit faf1cb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/node/bootstrap/bootstrap_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ void nano::bootstrap_server::run_next (nano::unique_lock<std::mutex> & lock_a)
if (type == nano::message_type::bulk_pull || type == nano::message_type::bulk_pull_account || type == nano::message_type::bulk_push || type == nano::message_type::frontier_req || type == nano::message_type::node_id_handshake)
{
// Bootstrap & node ID (realtime start)
// Request removed from queue in request_response_visitor. For bootstrap with requests.front ().release (), for node ID with finish_request ()
requests.front ()->visit (visitor);
}
else
Expand Down

0 comments on commit faf1cb6

Please sign in to comment.