Skip to content

Commit

Permalink
Merge pull request #193 from jl777/dPoW
Browse files Browse the repository at this point in the history
225000 update
  • Loading branch information
jl777 authored Feb 19, 2017
2 parents 20ce141 + d3bd176 commit 451cc49
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/pow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,18 +171,8 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
for (i=0; i<66; i++)
printf("%d ",mids[i]);
printf(" minerids from ht.%d\n",height);
if ( notaryid == -1 )
{
sleep(3);
komodo_chosennotary(&notaryid,height,pubkey33);
if ( notaryid >= 0 )
{
flag = komodo_eligiblenotary(pubkeys,mids,&nonzpkeys,height);
printf("found notaryid.%d flag.%d\n",notaryid,flag);
return(true);
}
}
return error("CheckProofOfWork(): hash doesn't match nBits");
if ( notaryid >= 0 )
return error("CheckProofOfWork(): hash doesn't match nBits");
}
}
return true;
Expand Down

0 comments on commit 451cc49

Please sign in to comment.