Fix some cases where ledger flags are incorrectly set.

This commit is contained in:
JoelKatz
2013-02-01 16:11:32 -08:00
parent db7e69164b
commit 9781c10736
8 changed files with 44 additions and 14 deletions

View File

@@ -113,6 +113,11 @@ bool NetworkOPs::haveLedgerRange(uint32 from, uint32 to)
return mLedgerMaster->haveLedgerRange(from, to);
}
bool NetworkOPs::haveLedger(uint32 seq)
{
return mLedgerMaster->haveLedger(seq);
}
bool NetworkOPs::addWantedHash(const uint256& h)
{
boost::recursive_mutex::scoped_lock sl(mWantedHashLock);