From 7ae49525f0ba0b6a5cd6d71a7bf7e225a454ea7b Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Wed, 1 Jul 2026 23:55:47 -0400 Subject: [PATCH] fix issue --- include/xrpl/tx/ApplyContext.h | 4 +++- src/test/app/Vault_test.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/xrpl/tx/ApplyContext.h b/include/xrpl/tx/ApplyContext.h index 6e92ac0f1b..0cd7bdb432 100644 --- a/include/xrpl/tx/ApplyContext.h +++ b/include/xrpl/tx/ApplyContext.h @@ -119,7 +119,9 @@ public: ApplyViewContext getApplyViewContext() { - XRPL_ASSERT(view_.has_value(), "xrpl::ApplyContext::getApplyViewContext : view_ emplaced in constructor"); + XRPL_ASSERT( + view_.has_value(), + "xrpl::ApplyContext::getApplyViewContext : view_ emplaced in constructor"); return {.view = *view_, .tx = tx}; } diff --git a/src/test/app/Vault_test.cpp b/src/test/app/Vault_test.cpp index 10cf11512f..48c97d14c8 100644 --- a/src/test/app/Vault_test.cpp +++ b/src/test/app/Vault_test.cpp @@ -5930,7 +5930,7 @@ class Vault_test : public beast::unit_test::Suite auto const dummyTx = *env.jt(noop(holder)).stx; BEAST_EXPECT( - removeEmptyHolding(sb, dummyTx, holder.id(), MPTIssue(mpt.issuanceID()), j) == + removeEmptyHolding({sb, dummyTx}, holder.id(), MPTIssue(mpt.issuanceID()), j) == tecHAS_OBLIGATIONS); BEAST_EXPECT(sb.peek(tokenKeylet) != nullptr); }