Skip to content

Commit

Permalink
warning police
Browse files Browse the repository at this point in the history
  • Loading branch information
MonsieurNicolas committed Feb 5, 2019
1 parent 615c814 commit 5af207e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/overlay/PeerManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ PeerManager::getPeersToSend(int size, PeerBareAddress const& address)
auto peers = mOutboundPeersToSend->getRandomPeers(size, keep);
if (peers.size() < size)
{
auto inbound =
mInboundPeersToSend->getRandomPeers(size - peers.size(), keep);
auto inbound = mInboundPeersToSend->getRandomPeers(
size - static_cast<int>(peers.size()), keep);
std::copy(std::begin(inbound), std::end(inbound),
std::back_inserter(peers));
}
Expand Down

5 comments on commit 5af207e

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from graydon
at MonsieurNicolas@5af207e

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging MonsieurNicolas/stellar-core/delayedSCPStatus = 5af207e into auto

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MonsieurNicolas/stellar-core/delayedSCPStatus = 5af207e merged ok, testing candidate = a9e4c5e

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = a9e4c5e

Please sign in to comment.