fix ledger used for rules

This commit is contained in:
Mayukha Vadari
2025-10-23 15:41:32 -04:00
parent ce19c13059
commit af6beb1d7c

View File

@@ -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();