mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge c0224bc962 into merged_master (Bitcoin PR bitcoin/bitcoin#22415)
This commit is contained in:
commit
40d1f3ffc5
7 changed files with 121 additions and 89 deletions
|
|
@ -205,7 +205,7 @@ TestingSetup::TestingSetup(const std::string& chainName, const std::string& fedp
|
|||
// instead of unit tests, but for now we need these here.
|
||||
RegisterAllCoreRPCCommands(tableRPC);
|
||||
|
||||
m_node.chainman->InitializeChainstate(*m_node.mempool);
|
||||
m_node.chainman->InitializeChainstate(m_node.mempool.get());
|
||||
m_node.chainman->ActiveChainstate().InitCoinsDB(
|
||||
/* cache_size_bytes */ 1 << 23, /* in_memory */ true, /* should_wipe */ false);
|
||||
assert(!m_node.chainman->ActiveChainstate().CanFlushToDisk());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue