Turns out we do not need to pass network to receive().

This commit is contained in:
Adam Ierymenko 2016-09-07 15:24:53 -07:00
parent 1908aa55f5
commit c7a4da3dd3
3 changed files with 36 additions and 43 deletions

View file

@ -70,8 +70,7 @@ void Peer::received(
const Packet::Verb verb,
const uint64_t inRePacketId,
const Packet::Verb inReVerb,
const bool trustEstablished,
const SharedPtr<Network> &network)
const bool trustEstablished)
{
const uint64_t now = RR->node->now();