Update include/xrpl/ledger/helpers/SLEBase.h

Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
This commit is contained in:
Mayukha Vadari
2026-04-22 13:44:38 -04:00
committed by GitHub
parent d10bb71eea
commit d7b6c8e098

View File

@@ -165,7 +165,7 @@ public:
newSLE()
requires isWritable
{
XRPL_ASSERT(!canModify(), "xrpl::SLEBase::newSLE : sle_ is not null");
XRPL_ASSERT(!canModify(), "xrpl::SLEBase::newSLE : no existing SLE");
sle_ = std::make_shared<SLE>(key_);
}