Skip to content

Commit

Permalink
Fixing upgrade path for node_id logging
Browse files Browse the repository at this point in the history
in the config
  • Loading branch information
argakiig committed Jun 21, 2018
1 parent 1bba54f commit 45365a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rai/node/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,10 @@ bool rai::logging::upgrade_json (unsigned version_a, boost::property_tree::ptree
tree_a.put ("version", "3");
result = true;
case 3:
tree_a.put ("network_node_id_handshake", "false");
tree_a.put ("version", "4");
result = true;
case 4:
break;
default:
throw std::runtime_error ("Unknown logging_config version");
Expand Down

0 comments on commit 45365a4

Please sign in to comment.