This commit is contained in:
jl777
2017-02-03 17:48:26 +02:00
parent b6c5b7ec8d
commit 8958c5ba67

View File

@@ -632,7 +632,6 @@ void static BitcoinMiner(CWallet *pwallet)
if ( memcmp(pubkeys[i],pubkeys[0],33) == 0 ) if ( memcmp(pubkeys[i],pubkeys[0],33) == 0 )
break; break;
if ( i != 66 ) if ( i != 66 )
{
printf("VIOLATION at %d\n",i); printf("VIOLATION at %d\n",i);
for (i=0; i<66; i++) for (i=0; i<66; i++)
{ {
@@ -642,8 +641,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," <- prev minerids from ht.%d notary.%d VIOLATION\n",pindexPrev->nHeight,notaryid); 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 )