mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Reduce debug.
This commit is contained in:
@@ -30,7 +30,7 @@ int LedgerMaster::getValidatedLedgerAge()
|
|||||||
{
|
{
|
||||||
if (!mValidLedger)
|
if (!mValidLedger)
|
||||||
{
|
{
|
||||||
cLog(lsINFO) << "No validated ledger";
|
cLog(lsDEBUG) << "No validated ledger";
|
||||||
return 999999;
|
return 999999;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ int LedgerMaster::getValidatedLedgerAge()
|
|||||||
ret -= static_cast<int64>(mValidLedger->getCloseTimeNC());
|
ret -= static_cast<int64>(mValidLedger->getCloseTimeNC());
|
||||||
ret = std::max(0LL, ret);
|
ret = std::max(0LL, ret);
|
||||||
|
|
||||||
cLog(lsINFO) << "Validated ledger age is " << ret;
|
cLog(lsTRACE) << "Validated ledger age is " << ret;
|
||||||
return static_cast<int>(ret);
|
return static_cast<int>(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user