mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix platform and debug macros
This commit is contained in:
@@ -208,7 +208,7 @@ SHAMapTreeNode::pointer SHAMap::getNode (const SHAMapNode& id, uint256 const& ha
|
||||
|
||||
if (node)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
#ifdef BEAST_DEBUG
|
||||
|
||||
if (node->getNodeHash () != hash)
|
||||
{
|
||||
@@ -925,7 +925,7 @@ int SHAMap::flushDirty (DirtyMap& map, int maxNodes, HashedObjectType t, uint32
|
||||
s.erase ();
|
||||
it->second->addRaw (s, snfPREFIX);
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifdef BEAST_DEBUG
|
||||
|
||||
if (s.getSHA512Half () != it->second->getNodeHash ())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user