mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Serialize access to the debug journal
This commit is contained in:
@@ -35,7 +35,7 @@ STValidation::STValidation (SerialIter& sit, bool checkSignature)
|
||||
|
||||
if (checkSignature && !isValid ())
|
||||
{
|
||||
JLOG (debugJournal().trace())
|
||||
JLOG (debugLog())
|
||||
<< "Invalid validation" << getJson (0);
|
||||
Throw<std::runtime_error> ("Invalid validation");
|
||||
}
|
||||
@@ -113,7 +113,7 @@ bool STValidation::isValid (uint256 const& signingHash) const
|
||||
}
|
||||
catch (std::exception const&)
|
||||
{
|
||||
JLOG (debugJournal().info())
|
||||
JLOG (debugLog())
|
||||
<< "Exception validating validation";
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user