Skip to content

Commit

Permalink
Router peer discovery fix
Browse files Browse the repository at this point in the history
  • Loading branch information
madMAx43v3r committed Jun 20, 2024
1 parent 52f80e0 commit cfbb85b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Router.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1516,6 +1516,7 @@ void Router::on_connect(uint64_t client, const std::string& address)
if(it != connect_tasks.end() && it->second == client) {
// we connected to them
peer->is_outbound = true;
peer_set.insert(address);
connect_tasks.erase(it);
}
}
Expand Down

0 comments on commit cfbb85b

Please sign in to comment.