Skip to content

Commit

Permalink
Build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ErakhtinB committed Dec 26, 2024
1 parent 8d9f2c6 commit 2aa0cf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/network/impl/synchronizer_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1224,9 +1224,9 @@ namespace kagome::network {
selected_peers.push_back(p_id);
}
} else {
std::vector<int> indices;
std::vector<uint32_t> indices;
indices.reserve(active_peers_size);
for (int i = 0; i < active_peers_size; ++i) {
for (uint32_t i = 0; i < active_peers_size; ++i) {
indices.push_back(i);
}
std::random_device rd;
Expand Down

0 comments on commit 2aa0cf0

Please sign in to comment.