|
|
@ -1212,7 +1212,7 @@ uint32_t komodo_stake(int32_t validateflag,arith_uint256 bnTarget,int32_t nHeigh |
|
|
|
memcpy(&hashbuf[100+sizeof(addrhash)],&txid,sizeof(txid)); |
|
|
|
memcpy(&hashbuf[100+sizeof(addrhash)+sizeof(txid)],&vout,sizeof(vout)); |
|
|
|
vcalc_sha256(0,(uint8_t *)&hash,hashbuf,100 + (int32_t)sizeof(uint256)*2 + sizeof(vout)); |
|
|
|
for (iter=0; iter<3600; iter++) |
|
|
|
for (iter=0; iter<120; iter++) |
|
|
|
{ |
|
|
|
diff = (iter + blocktime - txtime - minage); |
|
|
|
if ( diff < 0 ) |
|
|
|