mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Streamline Log with print() and out()
This commit is contained in:
@@ -138,8 +138,8 @@ int SHAMapNode::selectBranch (uint256 const& hash) const
|
||||
|
||||
if ((hash & smMasks[mDepth]) != mNodeID)
|
||||
{
|
||||
std::cerr << "selectBranch(" << getString () << std::endl;
|
||||
std::cerr << " " << hash << " off branch" << std::endl;
|
||||
Log::out() << "selectBranch(" << getString ();
|
||||
Log::out() << " " << hash << " off branch";
|
||||
assert (false);
|
||||
return -1; // does not go under this node
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user