From 4eba415e9b646e8bcb79def72ee0f1318b07eb0e Mon Sep 17 00:00:00 2001 From: Richard Holland Date: Wed, 20 Dec 2023 11:19:07 +0000 Subject: [PATCH] . --- src/ripple/app/hook/impl/applyHook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/app/hook/impl/applyHook.cpp b/src/ripple/app/hook/impl/applyHook.cpp index dbcb8bb4a..da781b416 100644 --- a/src/ripple/app/hook/impl/applyHook.cpp +++ b/src/ripple/app/hook/impl/applyHook.cpp @@ -338,7 +338,7 @@ getTransactionalStakeHolders(STTx const& tx, ReadView const& rv) auto escrow = rv.read(kl); - if (!escrow) + if (!escrow || escrow->getFieldU16(sfLedgerEntryType) != ltESCROW) return {}; // this should always be the same as owner, but defensively...