diff --git a/include/xrpl/ledger/helpers/README.md b/include/xrpl/ledger/helpers/README.md index 8dd846dd55..963502ed48 100644 --- a/include/xrpl/ledger/helpers/README.md +++ b/include/xrpl/ledger/helpers/README.md @@ -18,9 +18,8 @@ Historically, ledger entries are passed around as bare `std::shared_ptr` (o `SLEBase.h` introduces a single template class `SLEBase` that pairs an SLE with its view context and enforces read/write semantics at compile time via `requires` clauses. -**`SLEBase`** (aliased as `ReadOnlySLE`) holds a `std::shared_ptr` and a `ReadView const&`. Write-only members are excluded at compile time. - -**`SLEBase`** (aliased as `WritableSLE`) holds a mutable `std::shared_ptr`, an `ApplyView&`, and a `Keylet`. It exposes `insert()`, `update()`, `erase()`, and `newSLE()` to keep the SLE and its view in sync automatically. +**`SLEBase`** holds a `std::shared_ptr` and a `ReadView const&`. Write-only members are excluded at compile time. +holds a mutable `std::shared_ptr`, an `ApplyView&`, and a `Keylet`. It exposes `insert()`, `update()`, `erase()`, and `newSLE()` to keep the SLE and its view in sync automatically. A converting constructor allows implicit conversion from `SLEBase` to `SLEBase`, so functions taking a read-only wrapper can accept a writable one without a cast. diff --git a/src/xrpld/rpc/handlers/account/AccountInfo.cpp b/src/xrpld/rpc/handlers/account/AccountInfo.cpp index 716d631f73..a448db7e42 100644 --- a/src/xrpld/rpc/handlers/account/AccountInfo.cpp +++ b/src/xrpld/rpc/handlers/account/AccountInfo.cpp @@ -42,9 +42,8 @@ namespace xrpl { * * @details * Populates the provided JSON value with the description of the specified - * ledger entry. If the entry is an account root and contains an email hash, + * ledger entry. If the entry contains an email hash, * adds a 'urlgravatar' field with the corresponding Gravatar URL. - * If the entry is not an account root, sets the 'Invalid' field to true. */ void injectSLE(Json::Value& jv, RAccountRoot const& account)