From d5ff8b70108e1910e51573935d42f3dc50a6ab09 Mon Sep 17 00:00:00 2001 From: Richard Holland Date: Thu, 16 Oct 2025 17:10:22 +1100 Subject: [PATCH] bug --- src/ripple/app/tx/impl/Change.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ripple/app/tx/impl/Change.cpp b/src/ripple/app/tx/impl/Change.cpp index 0fbb2552d..4c75a8be3 100644 --- a/src/ripple/app/tx/impl/Change.cpp +++ b/src/ripple/app/tx/impl/Change.cpp @@ -176,7 +176,8 @@ Change::preclaim(PreclaimContext const& ctx) PublicKey const pk(makeSlice(pkBlob)); // check on ledger - if (auto const unlRep = ctx.view.read(keylet::UNLReport()); unlRep) + if (auto const unlRep = ctx.view.read(keylet::UNLReport()); + unlRep && unlRep->isFieldPresent(sfImportVLKeys)) { auto const& vlKeys = unlRep->getFieldArray(sfImportVLKeys); for (auto const& k : vlKeys)