mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Simplify LedgerMaster:
- Eliminate `tune` member function and allow `LedgerHistory` to fully initialize itself.
This commit is contained in:
committed by
manojsdoshi
parent
6faaa91850
commit
c7e6803956
@@ -318,9 +318,11 @@ public:
|
||||
{
|
||||
using namespace test::jtx;
|
||||
using namespace std::chrono_literals;
|
||||
Env env{*this};
|
||||
Env env{*this, envconfig([](std::unique_ptr<Config> cfg) {
|
||||
cfg->NODE_SIZE = 0;
|
||||
return cfg;
|
||||
})};
|
||||
Account const gw{"gateway"};
|
||||
env.app().getLedgerMaster().tune(0, 1h);
|
||||
auto const USD = gw["USD"];
|
||||
env.fund(XRP(100000), gw);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user