Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864485
D12513.id36343.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
552 B
Subscribers
None
D12513.id36343.diff
View Options
diff --git a/src/test/validation_chainstate_tests.cpp b/src/test/validation_chainstate_tests.cpp
--- a/src/test/validation_chainstate_tests.cpp
+++ b/src/test/validation_chainstate_tests.cpp
@@ -47,6 +47,8 @@
/* cache_size_bytes */ 1 << 23, /* in_memory */ true,
/* should_wipe */ false);
WITH_LOCK(::cs_main, c1.InitCoinsCache(1 << 23));
+ // Need at least one block loaded to be able to flush caches
+ BOOST_REQUIRE(c1.LoadGenesisBlock());
// Add a coin to the in-memory cache, upsize once, then downsize.
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 20:01 (6 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5864596
Default Alt Text
D12513.id36343.diff (552 B)
Attached To
D12513: test: Load genesis block to allow flush
Event Timeline
Log In to Comment