Skip to content

Commit

Permalink
Disable stagenet
Browse files Browse the repository at this point in the history
  • Loading branch information
LenyKholodov committed May 13, 2019
1 parent aeb25ba commit f657c4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cryptonote_core/cryptonote_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,9 @@ namespace cryptonote

auto data_dir = boost::filesystem::path(m_config_folder);

if (m_nettype == STAGENET)
throw std::runtime_error("StageNet is not supported by Graft at this time");

if (m_nettype == MAINNET)
{
cryptonote::checkpoints checkpoints;
Expand Down

0 comments on commit f657c4c

Please sign in to comment.