blockchain_utilities: fix logs and cout output colliding

This commit is contained in:
moneromooo-monero
2018-10-27 17:38:03 +00:00
parent 4cbb476cd1
commit 0a95cdaa80
2 changed files with 4 additions and 4 deletions

View File

@@ -396,7 +396,7 @@ int import_from_file(cryptonote::core& core, const std::string& import_file_path
{
std::cout << refresh_string << "block " << h-1
<< " / " << block_stop
<< std::flush;
<< "\r" << std::flush;
std::cout << ENDL << ENDL;
MINFO("Specified block number reached - stopping. block: " << h-1 << " total blocks: " << h);
quit = 1;
@@ -432,7 +432,7 @@ int import_from_file(cryptonote::core& core, const std::string& import_file_path
{
std::cout << refresh_string << "block " << h-1
<< " / " << block_stop
<< std::flush;
<< "\r" << std::flush;
}
if (opt_verify)