From dd66e3af3aa926911ab103acd6a70e25a180eac6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 20 Apr 2018 13:20:26 +0300 Subject: [PATCH] Test --- src/miner.cpp | 2 +- src/wallet/rpcwallet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index 813fafe2a..d1f348b64 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -767,7 +767,7 @@ void static BitcoinMiner() static uint32_t counter; if ( counter++ < 100 && ASSETCHAINS_STAKED == 0 ) fprintf(stderr,"created illegal block, retry\n"); - sleep(1); + sleep(3); continue; } unique_ptr pblocktemplate(ptr); diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 010f51319..c6b5557cd 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -4537,7 +4537,7 @@ int32_t komodo_staked(CMutableTransaction &txNew,uint32_t nBits,uint32_t *blockt for (i=0; i