diff --git a/nano/node/nodeconfig.cpp b/nano/node/nodeconfig.cpp index 60c9fc50d1..a437a930a6 100644 --- a/nano/node/nodeconfig.cpp +++ b/nano/node/nodeconfig.cpp @@ -465,9 +465,9 @@ nano::error nano::node_config::deserialize_toml (nano::tomlconfig & toml) { toml.get_error ().set ("active_elections_size must be greater than 250"); } - if (max_unchecked_blocks < 1) + if (max_unchecked_blocks < 0) { - toml.get_error ().set ("max_unchecked_blocks must be greater than 0"); + toml.get_error ().set ("max_unchecked_blocks must be 0 or higher"); } if (bandwidth_limit > std::numeric_limits::max ()) {