Revert "remove unbound"

This reverts commit d9e982cba569c72a17801857addd4fb9ad929449.
This commit is contained in:
fuwa
2020-05-02 16:47:02 +08:00
parent 03743db2ed
commit 8f17e8c0af
12 changed files with 26 additions and 8 deletions
+2
View File
@@ -30,6 +30,7 @@
#include "checkpoints.h"
#include "common/dns_utils.h"
#include "string_tools.h"
#include "storages/portable_storage_template_helper.h" // epee json include
#include "serialization/keyvalue_serialization.h"
@@ -278,6 +279,7 @@ namespace cryptonote
static const std::vector<std::string> stagenet_dns_urls = {
};
if (!tools::dns_utils::load_txt_records_from_dns(records, nettype == TESTNET ? testnet_dns_urls : nettype == STAGENET ? stagenet_dns_urls : dns_urls))
return true; // why true ?
for (const auto& record : records)