mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Get rid of hash_SMN and instead extend boost::hash.
This makes the TaggedCache code cleaner.
This commit is contained in:
@@ -285,7 +285,7 @@ void NetworkOPs::checkState(const boost::system::error_code& result)
|
||||
// Do we have sufficient validations for our last closed ledger? Or do sufficient nodes
|
||||
// agree? And do we have no better ledger available?
|
||||
// If so, we are either tracking or full.
|
||||
boost::unordered_map<uint256, ValidationCount, hash_SMN> ledgers;
|
||||
boost::unordered_map<uint256, ValidationCount> ledgers;
|
||||
|
||||
for (std::vector<Peer::pointer>::iterator it = peerList.begin(), end = peerList.end(); it != end; ++it)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user