1
0
Fork 0
forked from lthn/blockchain

Compare commits

...
Sign in to create a new pull request.

2 commits
dev ... matt

Author SHA1 Message Date
cryptozoidberg
20847a8ce0
enabled more logs 2020-11-11 17:55:00 +03:00
cryptozoidberg
243e4288a7
enable tonns of messages to debug problem 2020-11-11 17:53:00 +03:00

View file

@ -1769,7 +1769,7 @@ bool search_for_wallet_file(const std::wstring &search_here/*, const std::string
return false; return false;
} }
//LOG_PRINT_L0("FOLDER: " << epee::string_encoding::convert_to_ansii(search_here)); LOG_PRINT_L0("FOLDER: " << epee::string_encoding::convert_to_ansii(search_here));
static uint64_t last_tick = 0; static uint64_t last_tick = 0;
using namespace boost::filesystem; using namespace boost::filesystem;
//recursive_directory_iterator dir(search_here), end; //recursive_directory_iterator dir(search_here), end;
@ -1815,6 +1815,7 @@ bool search_for_wallet_file(const std::wstring &search_here/*, const std::string
LOG_PRINT_CYAN("Skip: " << search_here, LOG_LEVEL_0); LOG_PRINT_CYAN("Skip: " << search_here, LOG_LEVEL_0);
return false; return false;
} }
LOG_PRINT_L0("FOLDER: " << epee::string_encoding::convert_to_ansii(search_here) << " finished");
return false; return false;
} }
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
@ -1941,6 +1942,8 @@ int main(int argc, char* argv[])
<< epee::string_encoding::convert_to_ansii(command_line::get_arg(vm, arg_scan_for_wallet))); << epee::string_encoding::convert_to_ansii(command_line::get_arg(vm, arg_scan_for_wallet)));
search_for_wallet_file(epee::string_encoding::convert_to_unicode(command_line::get_arg(vm, arg_scan_for_wallet))); search_for_wallet_file(epee::string_encoding::convert_to_unicode(command_line::get_arg(vm, arg_scan_for_wallet)));
LOG_PRINT_L0("Finished.");
return EXIT_SUCCESS; return EXIT_SUCCESS;
} }