mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-23 04:25:51 +00:00
Cleanups.
This commit is contained in:
@@ -251,12 +251,7 @@ bool SHAMapTreeNode::updateHash()
|
||||
break;
|
||||
}
|
||||
if(!empty)
|
||||
{
|
||||
uint256 j[2];
|
||||
SHA512(reinterpret_cast<unsigned char *>(mHashes), sizeof(mHashes), (unsigned char *) j);
|
||||
nh=j[0];
|
||||
assert(!!nh);
|
||||
}
|
||||
nh=Serializer::getSHA512Half(reinterpret_cast<unsigned char *>(mHashes), sizeof(mHashes));
|
||||
}
|
||||
else if(mType==ACCOUNT_STATE)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user