mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
fix ledger used for rules
This commit is contained in:
@@ -2946,8 +2946,7 @@ NetworkOPsImp::getServerInfo(bool human, bool admin, bool counters)
|
|||||||
l[jss::hash] = to_string(lpClosed->info().hash);
|
l[jss::hash] = to_string(lpClosed->info().hash);
|
||||||
|
|
||||||
bool const smartEscrowEnabled =
|
bool const smartEscrowEnabled =
|
||||||
m_ledgerMaster.getValidatedLedger()->rules().enabled(
|
lpClosed->rules().enabled(featureSmartEscrow);
|
||||||
featureSmartEscrow);
|
|
||||||
if (!human)
|
if (!human)
|
||||||
{
|
{
|
||||||
l[jss::base_fee] = baseFee.jsonClipped();
|
l[jss::base_fee] = baseFee.jsonClipped();
|
||||||
|
|||||||
Reference in New Issue
Block a user