From 4f8ef58a490b9a17464fdafb6b1620eb68b0ff4e Mon Sep 17 00:00:00 2001 From: tequ Date: Mon, 30 Jun 2025 11:04:47 +0900 Subject: [PATCH] fix error message for `tecHAS_HOOK_STATE`. --- src/ripple/protocol/impl/TER.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/protocol/impl/TER.cpp b/src/ripple/protocol/impl/TER.cpp index a426f5974..3edea1147 100644 --- a/src/ripple/protocol/impl/TER.cpp +++ b/src/ripple/protocol/impl/TER.cpp @@ -94,7 +94,7 @@ transResults() MAKE_ERROR(tecINSUF_RESERVE_SELLER, "The seller of an object has insufficient reserves, and thus cannot complete the sale."), MAKE_ERROR(tecIMMUTABLE, "The remark is marked immutable on the object, and therefore cannot be updated."), MAKE_ERROR(tecTOO_MANY_REMARKS, "The number of remarks on the object would exceed the limit of 32."), - MAKE_ERROR(tecHAS_HOOK_STATE, "The account has hook state."), + MAKE_ERROR(tecHAS_HOOK_STATE, "The account has hook state. Delete all existing state first."), MAKE_ERROR(tefALREADY, "The exact transaction was already in this ledger."), MAKE_ERROR(tefBAD_ADD_AUTH, "Not authorized to add account."),