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