Revert some unnecessary changes

Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
JCW
2026-03-12 18:35:21 +00:00
parent abb800c9c6
commit 62ad0269db
2 changed files with 6 additions and 6 deletions

View File

@@ -36,9 +36,6 @@ public:
Rules() = delete;
// Prevent passing temporary presets - they would create a dangling reference
explicit Rules(std::unordered_set<uint256, beast::uhash<>>&& presets) = delete;
/** Construct an empty rule set.
These are the rules reflected by

View File

@@ -217,10 +217,13 @@ class RCLValidations_test : public beast::unit_test::suite
// Generate a chain of 256 + 10 ledgers
jtx::Env env(*this);
auto& j = env.journal;
Rules const rules{env.app().config().features};
Fees const fees = env.app().config().FEES.toFees();
Config config;
auto prev = std::make_shared<Ledger const>(
create_genesis, rules, fees, std::vector<uint256>{}, env.app().getNodeFamily());
create_genesis,
Rules{config.features},
config.FEES.toFees(),
std::vector<uint256>{},
env.app().getNodeFamily());
history.push_back(prev);
for (auto i = 0; i < (maxAncestors + 10); ++i)
{