We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27f9642 commit 85d8b01Copy full SHA for 85d8b01
dht-server/dht-server.cpp
@@ -433,14 +433,6 @@ td::Status DhtServer::load_global_config() {
433
TRY_RESULT_PREFIX(dht, ton::dht::Dht::create_global_config(std::move(conf.dht_)), "bad [dht] section: ");
434
dht_config_ = std::move(dht);
435
436
- if (!conf.validator_) {
437
- return td::Status::Error(ton::ErrorCode::error, "does not contain [validator] section");
438
- }
439
-
440
- if (!conf.validator_->zero_state_) {
441
- return td::Status::Error(ton::ErrorCode::error, "[validator] section does not contain [zero_state]");
442
443
444
return td::Status::OK();
445
}
446
0 commit comments