From f8c4639ff43debd64cf982e0e0171b45edc4c781 Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Wed, 25 Jun 2025 09:15:05 +0200 Subject: [PATCH] add DeepFreeze to `trustTransferAllowed` --- src/xrpld/ledger/View.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/xrpld/ledger/View.h b/src/xrpld/ledger/View.h index e11bb1ffe..1ff6f69d0 100644 --- a/src/xrpld/ledger/View.h +++ b/src/xrpld/ledger/View.h @@ -859,6 +859,14 @@ trustTransferAllowed( return tecFROZEN; } + if (isDeepFrozen(view, p, issue.currency, issue.account)) + { + JLOG(j.trace()) << "trustTransferAllowed: " + << "issuer: " << issue.account << " " + << "is deep frozen on party: " << p; + return tecFROZEN; + } + // if called with more than one party then any party // that has a noripple on the issuer side of their tl // blocks any possible xfer