diff --git a/include/xrpl/tx/ApplyContext.h b/include/xrpl/tx/ApplyContext.h index d7117df60e..ad5b6141f6 100644 --- a/include/xrpl/tx/ApplyContext.h +++ b/include/xrpl/tx/ApplyContext.h @@ -115,6 +115,7 @@ public: inline ApplyViewContext& getApplyViewContext() { + XRPL_ASSERT(&viewCtx_.view == &view_, "Previous view discarded"); return viewCtx_; }