diff --git a/cfg/xrpld-example.cfg b/cfg/xrpld-example.cfg index c57d8d8e6f..b8ba33fec7 100644 --- a/cfg/xrpld-example.cfg +++ b/cfg/xrpld-example.cfg @@ -1296,7 +1296,7 @@ # consumed by a single transaction. The gas limit is used to prevent # transactions from consuming too many resources. # -# If this parameter is unspecified, rippled will use an internal +# If this parameter is unspecified, xrpld will use an internal # default. Don't change this without understanding the consequences. # # Example: @@ -1308,7 +1308,7 @@ # bytes. The size limit is used to prevent extensions from consuming # too many resources. # -# If this parameter is unspecified, rippled will use an internal +# If this parameter is unspecified, xrpld will use an internal # default. Don't change this without understanding the consequences. # # Example: @@ -1318,7 +1318,7 @@ # # The gas price is the conversion between WASM gas and its price in drops. # -# If this parameter is unspecified, rippled will use an internal +# If this parameter is unspecified, xrpld will use an internal # default. Don't change this without understanding the consequences. # # Example: diff --git a/src/xrpld/app/misc/NetworkOPs.cpp b/src/xrpld/app/misc/NetworkOPs.cpp index e29eedb336..34315ae6c6 100644 --- a/src/xrpld/app/misc/NetworkOPs.cpp +++ b/src/xrpld/app/misc/NetworkOPs.cpp @@ -4236,6 +4236,7 @@ NetworkOPsImp::subLedger(InfoSub::ref isrListener, Json::Value& jvResult) jvResult[jss::fee_base] = lpClosed->fees().base.jsonClipped(); jvResult[jss::reserve_base] = lpClosed->fees().reserve.jsonClipped(); jvResult[jss::reserve_inc] = lpClosed->fees().increment.jsonClipped(); + jvResult[jss::network_id] = app_.config().NETWORK_ID; if (lpClosed->rules().enabled(featureSmartEscrow)) { jvResult[jss::extension_compute] =