Skip to content

Commit e10f820

Browse files
Removed debug logs
1 parent 67b6fc1 commit e10f820

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

ton-http-api/src/utils/common.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,14 @@ namespace ton_http::utils {
1313
using namespace ton;
1414

1515
inline std::optional<bool> stringToBool(std::string str) {
16-
std::cout << "Archival: " << str << std::endl;
1716
if (str.empty()) {
1817
return std::nullopt;
1918
}
2019
std::ranges::transform(str, str.begin(), ::tolower);
21-
std::cout << "Archival: " << str << std::endl;
2220
if (str == "y" || str == "yes" || str == "t" || str == "true" || str == "on" || str == "1") {
23-
std::cout << "ARCHIVAL" << std::endl;
2421
return true;
2522
}
2623
if (str == "n" || str == "no" || str == "f" || str == "false" || str == "off" || str == "0") {
27-
std::cout << "NOT ARCHIVAL" << std::endl;
2824
return false;
2925
}
3026
throw std::invalid_argument("failed to parse bool");

0 commit comments

Comments
 (0)