From 33a045ef7880dae139e1e954b1b5c0f9a3a64eb9 Mon Sep 17 00:00:00 2001 From: tequ Date: Wed, 22 Oct 2025 13:37:57 +0900 Subject: [PATCH] fix HookStateMap scale param to use uint16_t --- src/ripple/app/hook/applyHook.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ripple/app/hook/applyHook.h b/src/ripple/app/hook/applyHook.h index c225b7dc3..95e7b9e4c 100644 --- a/src/ripple/app/hook/applyHook.h +++ b/src/ripple/app/hook/applyHook.h @@ -30,9 +30,9 @@ isEmittedTxn(ripple::STTx const& tx); class HookStateMap : public std::map< ripple::AccountID, // account that owns the state std::tuple< - int64_t, // remaining available ownercount - int64_t, // total namespace count - int16_t, // hook state scale + int64_t, // remaining available ownercount + int64_t, // total namespace count + uint16_t, // hook state scale std::map< ripple::uint256, // namespace std::map<