mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 08:46:46 +00:00
refactor: Prevent dry-run transactions from being queued (#92)
This commit is contained in:
committed by
Bart
parent
dc707b9f35
commit
3004e04936
@@ -749,6 +749,9 @@ TxQ::apply(
|
||||
if (auto directApplied = tryDirectApply(app, view, tx, flags, j))
|
||||
return *directApplied;
|
||||
|
||||
if ((flags & tapDRY_RUN) != 0u)
|
||||
return {telCAN_NOT_QUEUE, false};
|
||||
|
||||
// If we get past tryDirectApply() without returning then we expect
|
||||
// one of the following to occur:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user