Revert "Merge pull request #4472"

This reverts commit 79d46c4d55, reversing
changes made to c9fc61dbb5.
This commit is contained in:
Riccardo Spagni
2018-10-08 21:39:54 +02:00
parent 3f2bfe87f7
commit ac5674524a
17 changed files with 185 additions and 113 deletions

View File

@@ -37,7 +37,6 @@
#include "misc_log_ex.h"
#include "bootstrap_file.h"
#include "bootstrap_serialization.h"
#include "blocks/blocks.h"
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "serialization/binary_utils.h" // dump_binary(), parse_binary()
#include "serialization/json_utils.h" // dump_json()
@@ -759,12 +758,7 @@ int main(int argc, char* argv[])
{
core.disable_dns_checkpoints(true);
#if defined(PER_BLOCK_CHECKPOINT)
GetCheckpointsCallback get_checkpoints = blocks::GetCheckpointsData;
#else
GetCheckpointsCallback get_checkpoints = nullptr;
#endif
if (!core.init(vm, nullptr, nullptr, get_checkpoints))
if (!core.init(vm, NULL))
{
std::cerr << "Failed to initialize core" << ENDL;
return 1;