We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1f014 commit 43cc880Copy full SHA for 43cc880
src/init.cpp
@@ -263,7 +263,9 @@ void PrepareShutdown()
263
}
264
265
// FlushStateToDisk generates a SetBestChain callback, which we should avoid missing
266
- FlushStateToDisk();
+ if (pcoinsTip != nullptr) {
267
+ FlushStateToDisk();
268
+ }
269
270
// After there are no more peers/RPC left to give us new data which may generate
271
// CValidationInterface callbacks, flush them...
0 commit comments