mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +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);
|
||||
|
||||
bool const smartEscrowEnabled =
|
||||
m_ledgerMaster.getValidatedLedger()->rules().enabled(
|
||||
featureSmartEscrow);
|
||||
lpClosed->rules().enabled(featureSmartEscrow);
|
||||
if (!human)
|
||||
{
|
||||
l[jss::base_fee] = baseFee.jsonClipped();
|
||||
|
||||
Reference in New Issue
Block a user