diff options
author | Thomas Winget <tewinget@gmail.com> | 2014-09-27 17:46:12 -0400 |
---|---|---|
committer | Thomas Winget <tewinget@gmail.com> | 2014-09-30 16:21:37 -0400 |
commit | 7568f89c5559a667c53dfaa6d1bef27fe3b4ae86 (patch) | |
tree | 4046f5242a9d587f96710fc1819b3ab9ea988275 /src/daemon | |
parent | DNS checkpoint updating added, and daemon flag to enforce them (diff) | |
download | monero-7568f89c5559a667c53dfaa6d1bef27fe3b4ae86.tar.xz |
Fixed segfault with checkpoints loading
Bounds checking on blockchain_storage' m_blocks.size() when validating
against checkpoints. Also moved initial json & DNS checkpoints load to
after blockchain init.
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/daemon.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp index 8e915fb1d..da09acfd4 100644 --- a/src/daemon/daemon.cpp +++ b/src/daemon/daemon.cpp @@ -221,8 +221,6 @@ int main(int argc, char* argv[]) } else { ccore.set_checkpoints(std::move(checkpoints)); ccore.set_checkpoints_file_path(checkpoint_json_hashfile_fullpath.string()); - res = ccore.update_checkpoints(); - CHECK_AND_ASSERT_MES(res, 1, "Failed to load initial checkpoints"); } cryptonote::t_cryptonote_protocol_handler<cryptonote::core> cprotocol(ccore, NULL); |