Skip to content

Commit

Permalink
fixup! Default policy: Set mempooltruc=accept (corepolicy resets to r…
Browse files Browse the repository at this point in the history
…eject)
  • Loading branch information
luke-jr committed Jun 19, 2024
1 parent f3bbb1a commit 3beb1d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/util/txmempool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ CTxMemPool::Options MemPoolOptionsForTest(const NodeContext& node)
// Default to always checking mempool regardless of
// chainparams.DefaultConsistencyChecks for tests
.check_ratio = 1,
.truc_policy = TRUCPolicy::Enforce,
};
const auto result{ApplyArgsManOptions(*node.args, ::Params(), mempool_opts)};
Assert(result);
Expand Down

0 comments on commit 3beb1d0

Please sign in to comment.