mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Fix a possible bug in commented out code.
This commit is contained in:
@@ -27,7 +27,7 @@ void SHAMapNode::setHash() const
|
||||
mHash = mNodeID.hash_combine(h);
|
||||
#if 0
|
||||
const unsigned int *ptr = reinterpret_cast<const unsigned int *>(mNodeID.begin());
|
||||
for (int i = (mDepth + 3) / 4; i >= 0; --i)
|
||||
for (int i = (mDepth + 3) / 4; i != 0; --i)
|
||||
boost::hash_combine(h, *ptr++);
|
||||
mHash = h;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user