mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Enable amendments in genesis ledger (RIPD-1281)
When started with "--start", put all known, non-vetoed amendments in the genesis ledger. This avoids the need to wait 256 ledgers before amendments are enabled when testing with a fresh ledger.
This commit is contained in:
@@ -37,8 +37,9 @@ class SkipList_test : public beast::unit_test::suite
|
||||
{
|
||||
jtx::Env env(*this);
|
||||
Config config;
|
||||
auto prev =
|
||||
std::make_shared<Ledger>(create_genesis, config, env.app().family());
|
||||
auto prev = std::make_shared<Ledger>(
|
||||
create_genesis, config,
|
||||
std::vector<uint256>{}, env.app().family());
|
||||
history.push_back(prev);
|
||||
for (auto i = 0; i < 1023; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user