From 7f2b93dab12a385cc116be28920d3d5f335f807d Mon Sep 17 00:00:00 2001 From: Bart <11445373+bthomee@users.noreply.github.com> Date: Sun, 31 May 2026 17:49:06 -0400 Subject: [PATCH] Fix copy-paste --- src/xrpld/app/misc/SHAMapStoreImp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrpld/app/misc/SHAMapStoreImp.cpp b/src/xrpld/app/misc/SHAMapStoreImp.cpp index b79833c9b3..7259c233e4 100644 --- a/src/xrpld/app/misc/SHAMapStoreImp.cpp +++ b/src/xrpld/app/misc/SHAMapStoreImp.cpp @@ -175,10 +175,10 @@ SHAMapStoreImp::makeNodeStore(int readThreads) std::to_string(app_.config().getValueFor(SizedItem::TreeCacheSize, std::nullopt))); } - if (!nscfg.exists(Keys::kCacheSize)) + if (!nscfg.exists(Keys::kCacheAge)) { nscfg.set( - Keys::kCacheSize, + Keys::kCacheAge, std::to_string(app_.config().getValueFor(SizedItem::TreeCacheAge, std::nullopt))); }