From 3b2dcefb815cfbc223f2f90ba7d1a1886be82a6e Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Mon, 23 Mar 2026 09:28:50 -0700 Subject: [PATCH] fix more stuff --- src/libxrpl/ledger/View.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libxrpl/ledger/View.cpp b/src/libxrpl/ledger/View.cpp index fee96fa283..6dfde7db28 100644 --- a/src/libxrpl/ledger/View.cpp +++ b/src/libxrpl/ledger/View.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include @@ -74,7 +75,9 @@ isVaultPseudoAccountFrozen( // LCOV_EXCL_STOP } - return mptIssuance.isAnyFrozen({issuer, account}, depth + 1); + auto const vaultAsset = vault->at(sfAsset); + auto const token = makeTokenBase(view, vaultAsset); + return token->isAnyFrozen({issuer, account}, depth + 1); } bool