Skip to content

Commit

Permalink
staking logging improved
Browse files Browse the repository at this point in the history
  • Loading branch information
dimxy committed Sep 23, 2021
1 parent 24f7d50 commit 87ac53d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/komodo_bitcoind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,7 @@ void komodo_addutxo(std::vector<komodo_staking> &array,int32_t *maxkp,uint32_t t
*maxkp += 1000;
//array = (struct komodo_staking *)realloc(array,sizeof(*array) * (*maxkp));
array.reserve(*maxkp);
//fprintf(stderr,"realloc max.%d array.size().%d\n",*maxkp,array.size());
//fprintf(stderr,"realloc max.%d array.size().%d array.capacity().%d\n", *maxkp,array.size(), array.capacity());
}
memset(&kp,0,sizeof(kp));
strcpy(kp.address,address);
Expand Down
2 changes: 1 addition & 1 deletion src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2188,7 +2188,7 @@ void static BitcoinMiner()
if (minerThreads != NULL)
{
minerThreads->interrupt_all();
std::cout << __func__ << "Waiting for mining threads to stop..." << std::endl;
std::cout << "Waiting for mining threads to stop..." << std::endl;
minerThreads->join_all(); // prevent thread overlapping
delete minerThreads;
minerThreads = NULL;
Expand Down

0 comments on commit 87ac53d

Please sign in to comment.