mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-01 03:22:19 +00:00
roll back now-unneeded changes
This commit is contained in:
@@ -133,11 +133,6 @@ private:
|
||||
|
||||
// The ID of the batch transaction we are executing under, if seated.
|
||||
std::optional<uint256 const> parentBatchId_;
|
||||
|
||||
// A temporary helper object that passes around ApplyContext info
|
||||
// Only necessary (for now) because the ApplyContext can't be passed into helpers due to
|
||||
// levelization
|
||||
ApplyViewContext viewCtx_;
|
||||
};
|
||||
|
||||
} // namespace xrpl
|
||||
|
||||
@@ -40,13 +40,12 @@ ApplyContext::ApplyContext(
|
||||
, journal(journal)
|
||||
, base_(base)
|
||||
, flags_(flags)
|
||||
, view_{std::in_place, &base_, flags_}
|
||||
, parentBatchId_(parentBatchId)
|
||||
, viewCtx_{.view = *view_, .tx = tx}
|
||||
{
|
||||
XRPL_ASSERT(
|
||||
parentBatchId.has_value() == ((flags_ & TapBatch) == TapBatch),
|
||||
"Parent Batch ID should be set if batch apply flag is set");
|
||||
view_.emplace(&base_, flags_);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user