This commit is contained in:
jl777
2017-02-02 17:27:40 +02:00
parent 22dae5a423
commit fa72bb3c78
2 changed files with 3 additions and 2 deletions

View File

@@ -528,7 +528,8 @@ uint64_t komodo_paxprice(uint64_t *seedp,int32_t height,char *base,char *rel,uin
int32_t i,nonz=0; int64_t diff; uint64_t price,seed,sum = 0; int32_t i,nonz=0; int64_t diff; uint64_t price,seed,sum = 0;
if ( ASSETCHAINS_SYMBOL[0] == 0 && chainActive.Tip() != 0 && height > chainActive.Tip()->nHeight ) if ( ASSETCHAINS_SYMBOL[0] == 0 && chainActive.Tip() != 0 && height > chainActive.Tip()->nHeight )
{ {
printf("height.%d vs tip.%d\n",height,chainActive.Tip()->nHeight); if ( height != 1381319936 )
printf("height.%d vs tip.%d\n",height,chainActive.Tip()->nHeight);
return(0); return(0);
} }
*seedp = komodo_seed(height); *seedp = komodo_seed(height);

View File

@@ -627,7 +627,7 @@ void static BitcoinMiner(CWallet *pwallet)
{ {
for (j=0; j<65; j++) for (j=0; j<65; j++)
fprintf(stderr,"%d ",mids[j]); fprintf(stderr,"%d ",mids[j]);
fprintf(stderr," <- minerids from ht.%d\n",pindexPrev->nHeight); fprintf(stderr," <- prev minerids from ht.%d notary.%d\n",pindexPrev->nHeight,notaryid);
for (j=0; j<65; j++) for (j=0; j<65; j++)
if ( mids[j] == notaryid ) if ( mids[j] == notaryid )
break; break;