mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge 489b587669 into merged_master (Bitcoin PR bitcoin/bitcoin#25215)
This commit is contained in:
commit
fe8d041f9f
9 changed files with 29 additions and 26 deletions
|
|
@ -20,7 +20,7 @@ BOOST_FIXTURE_TEST_SUITE(validation_flush_tests, ChainTestingSetup)
|
|||
//!
|
||||
BOOST_AUTO_TEST_CASE(getcoinscachesizestate)
|
||||
{
|
||||
CTxMemPool mempool;
|
||||
CTxMemPool& mempool = *Assert(m_node.mempool);
|
||||
BlockManager blockman{};
|
||||
CChainState chainstate{&mempool, blockman, *Assert(m_node.chainman)};
|
||||
chainstate.InitCoinsDB(/*cache_size_bytes=*/1 << 10, /*in_memory=*/true, /*should_wipe=*/false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue