mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add Json::to_string:
This allows the declaration for FastWriter to be hidden and makes conversion of Json::Value objects to strings a little less clunky.
This commit is contained in:
committed by
Vinnie Falco
parent
8c1c2f5d05
commit
9cba944d21
@@ -92,7 +92,6 @@ TER TransactionEngine::applyTransaction (
|
||||
{
|
||||
WriteLog (lsFATAL, TransactionEngine) <<
|
||||
"Transaction serdes mismatch";
|
||||
Json::StyledStreamWriter ssw;
|
||||
WriteLog (lsINFO, TransactionEngine) << txn.getJson (0);
|
||||
WriteLog (lsFATAL, TransactionEngine) << s2.getJson (0);
|
||||
assert (false);
|
||||
|
||||
Reference in New Issue
Block a user