mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Move init::SanityCheck to kernel::SanityCheck
This commit is contained in:
@@ -190,7 +190,7 @@ static bool AppInit(NodeContext& node, int argc, char* argv[])
|
||||
}
|
||||
|
||||
node.kernel = std::make_unique<kernel::Context>();
|
||||
if (!AppInitSanityChecks())
|
||||
if (!AppInitSanityChecks(*node.kernel))
|
||||
{
|
||||
// InitError will have been called with detailed error, which ends up on console
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user