From e6ee5432ddb040e87558f72ddaf41d20bb81a98a Mon Sep 17 00:00:00 2001 From: tequ Date: Wed, 18 Feb 2026 11:00:07 +0900 Subject: [PATCH] add comment for computeHookReserve --- src/ripple/app/tx/impl/SetHook.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ripple/app/tx/impl/SetHook.cpp b/src/ripple/app/tx/impl/SetHook.cpp index b259f6e42..48ddc5ee5 100644 --- a/src/ripple/app/tx/impl/SetHook.cpp +++ b/src/ripple/app/tx/impl/SetHook.cpp @@ -1221,6 +1221,12 @@ updateHookParameters( return tesSUCCESS; } +/** + * Compute the reserve required for a hook object. + * @param hookObj The hook object to compute the reserve for.(not Transaction + * field, use the Hook object inside the ltHook object.) + * @return The reserve required for the hook object. + */ uint32_t SetHook::computeHookReserve(STObject const& hookObj) {