Update node.cpp

Fixed #861/#881 as the config version was incremented but not saved to config properly
This commit is contained in:
Russel Waters 2018-05-21 11:02:47 -04:00 committed by clemahieu
commit 0e46057d0b

View file

@ -826,7 +826,7 @@ state_block_generate_canary (0)
void rai::node_config::serialize_json (boost::property_tree::ptree & tree_a) const
{
tree_a.put ("version", "11");
tree_a.put ("version", "12");
tree_a.put ("peering_port", std::to_string (peering_port));
tree_a.put ("bootstrap_fraction_numerator", std::to_string (bootstrap_fraction_numerator));
tree_a.put ("receive_minimum", receive_minimum.to_string_dec ());