mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Configuration for yielding RPC server.
This commit is contained in:
committed by
Vinnie Falco
parent
a360c481c2
commit
fce77c9372
@@ -643,7 +643,7 @@ bool Ledger::saveValidatedLedger (bool current)
|
||||
if (!getAccountHash ().isNonZero ())
|
||||
{
|
||||
WriteLog (lsFATAL, Ledger) << "AH is zero: "
|
||||
<< getJson (*this, 0);
|
||||
<< getJson (*this);
|
||||
assert (false);
|
||||
}
|
||||
|
||||
@@ -920,7 +920,7 @@ Ledger::pointer Ledger::getSQL (std::string const& sql)
|
||||
{
|
||||
WriteLog (lsERROR, Ledger) << "Failed on ledger";
|
||||
Json::Value p;
|
||||
addJson (*ret, p, LEDGER_JSON_FULL);
|
||||
addJson (p, {*ret, LEDGER_JSON_FULL});
|
||||
WriteLog (lsERROR, Ledger) << p;
|
||||
}
|
||||
|
||||
@@ -1648,7 +1648,7 @@ bool Ledger::assertSane () const
|
||||
|
||||
WriteLog (lsFATAL, Ledger) << "ledger is not sane";
|
||||
|
||||
Json::Value j = getJson (*this, 0);
|
||||
Json::Value j = getJson (*this);
|
||||
|
||||
j [jss::accountTreeHash] = to_string (mAccountHash);
|
||||
j [jss::transTreeHash] = to_string (mTransHash);
|
||||
|
||||
Reference in New Issue
Block a user