From 98c3a27482d9fb9cc06de7a0e72d5d7db0a54bd3 Mon Sep 17 00:00:00 2001 From: "Dr.Elias" Date: Thu, 16 Dec 2021 16:58:54 +0300 Subject: [PATCH] cpu utilisation fix for mining stats --- crypto/util/pow-miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/util/pow-miner.cpp b/crypto/util/pow-miner.cpp index b15f2c33..a2b33322 100644 --- a/crypto/util/pow-miner.cpp +++ b/crypto/util/pow-miner.cpp @@ -130,8 +130,8 @@ void print_stats(std::string status, ton::Miner::Options options) { ton::Miner::print_stats(status, options.start_at, *options.hashes_computed, *options.instant_passed, *options.instant_hashes_computed); print_at = td::Timestamp::in(5); - std::this_thread::sleep_for(std::chrono::milliseconds(100)); } + std::this_thread::sleep_for(std::chrono::milliseconds(100)); } }