Cleanup transaction set sync map creation.

Remove a passthrough to NetworkOPs that doesn't make much sense.
This commit is contained in:
JoelKatz
2012-09-13 15:21:08 -07:00
parent 9cdcf50c07
commit de8288d4d5
3 changed files with 10 additions and 15 deletions

View File

@@ -712,12 +712,6 @@ bool NetworkOPs::hasTXSet(const boost::shared_ptr<Peer>& peer, const uint256& se
return mConsensus->peerHasSet(peer, set, status);
}
void NetworkOPs::mapComplete(const uint256& hash, const SHAMap::pointer& map)
{
if (mConsensus)
mConsensus->mapComplete(hash, map, true);
}
void NetworkOPs::endConsensus(bool correctLCL)
{
uint256 deadLedger = theApp->getMasterLedger().getClosedLedger()->getParentHash();