fix issue

This commit is contained in:
Mayukha Vadari
2026-07-01 23:55:47 -04:00
parent cb90a26496
commit 7ae49525f0
2 changed files with 4 additions and 2 deletions

View File

@@ -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};
}

View File

@@ -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);
}