From 11d0c3486cbb52cbd658c021d1ef32e5668b8525 Mon Sep 17 00:00:00 2001 From: tequ Date: Fri, 24 Oct 2025 17:11:07 +0900 Subject: [PATCH] fix comment --- src/ripple/app/hook/HookAPI.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/ripple/app/hook/HookAPI.h b/src/ripple/app/hook/HookAPI.h index 96f2d6df2..0e670a619 100644 --- a/src/ripple/app/hook/HookAPI.h +++ b/src/ripple/app/hook/HookAPI.h @@ -43,7 +43,7 @@ public: uint256 util_sha512h(Slice const& data) const; - // util_keylet + // util_keylet() /// sto APIs Expected @@ -61,7 +61,7 @@ public: std::optional const& field_object, uint32_t field_id) const; - // sto_erase: same as sto_emplace with field_object = nullopt + // sto_erase(): same as sto_emplace with field_object = nullopt /// etxn APIs Expected, HookReturnCode> @@ -212,7 +212,7 @@ public: /// state APIs - // state: same as state_foreign with ns = 0 and account = hook_account() + // state(): same as state_foreign with ns = 0 and account = hook_account() Expected state_foreign( @@ -220,8 +220,7 @@ public: uint256 const& ns, AccountID const& account) const; - // state_set: same as state_foreign_set with ns = 0 and account = - // state_set() + // state_set(): same as state_foreign_set with ns = 0 and account = Expected state_foreign_set(