Skip to content

Commit

Permalink
[fold] revert applyFlags change
Browse files Browse the repository at this point in the history
  • Loading branch information
dangell7 committed Nov 7, 2024
1 parent 47120ac commit 6ed4ac8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions src/xrpld/app/tx/apply.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ checkValidity(
HashRouter& router,
STTx const& tx,
Rules const& rules,
Config const& config,
ApplyFlags const& applyFlags = tapNONE);
Config const& config);

/** Sets the validity of a given transaction in the cache.
Expand Down
3 changes: 1 addition & 2 deletions src/xrpld/app/tx/detail/Transactor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ preflight2(PreflightContext const& ctx)
ctx.app.getHashRouter(),
ctx.tx,
ctx.rules,
ctx.app.config(),
ctx.flags);
ctx.app.config());
if (sigValid.first == Validity::SigBad)
{
JLOG(ctx.j.debug()) << "preflight2: bad signature. " << sigValid.second;
Expand Down
3 changes: 1 addition & 2 deletions src/xrpld/app/tx/detail/apply.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ checkValidity(
HashRouter& router,
STTx const& tx,
Rules const& rules,
Config const& config,
ApplyFlags const& applyFlags)
Config const& config)
{
auto const id = tx.getTransactionID();
auto const flags = router.getFlags(id);
Expand Down

0 comments on commit 6ed4ac8

Please sign in to comment.