mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Revert some unnecessary changes
Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user