From 26810a265b43af78699edf351afb6aa34c789c77 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 8 May 2018 18:03:43 +0300 Subject: [PATCH] Test --- src/miner.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index 6d0b29b33..de6024caf 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -986,8 +986,9 @@ void static BitcoinMiner() { if ( NOTARY_PUBKEY33[0] != 0 && notaryid >= 0 ) { - if ( (i= ((Mining_height + notaryid) % 64) / 8) > 0 ) - MilliSleep((rand() % (i * 1000)) + 500); + int32_t r; + if ( (r= ((Mining_height + notaryid) % 64) / 8) > 0 ) + MilliSleep((rand() % (r * 1000)) + 500); } } else