]> Git Repo - VerusCoin.git/commitdiff
Test
authorjl777 <[email protected]>
Fri, 13 Apr 2018 14:28:49 +0000 (17:28 +0300)
committerjl777 <[email protected]>
Fri, 13 Apr 2018 14:28:49 +0000 (17:28 +0300)
src/komodo_bitcoind.h
src/pow.cpp

index f1d2079432f572694dcd3be11fe46f29081e73d9..d88c7ddadece94d73f806c493a6653e717ad6fbc 100644 (file)
@@ -740,7 +740,7 @@ void komodo_pindex_init(CBlockIndex *pindex,int32_t height)
             komodo_block2pubkey33(pindex->pubkey33,block);
             for (i=0; i<33; i++)
                 fprintf(stderr,"%02x",pindex->pubkey33[i]);
-            fprintf(stderr," set pubkey at height %d/%d tip.%d\n",pindex->nHeight,height,chainActive.Tip()->nHeight);
+            fprintf(stderr," set pubkey at height %d/%d\n",pindex->nHeight,height);
         }
     }
     if ( (pindex->pubkey33[0] == 2 || pindex->pubkey33[0] == 3) && pindex->nHeight >= 0 && (num= komodo_notaries(pubkeys,(int32_t)pindex->nHeight,(uint32_t)pindex->nTime)) > 0 )
index b6c7d2b31ebb2aa3b87fca132175cdf0a4124931..8abe12ce008a2a65d3a8c62109f2a0c06d8534d0 100644 (file)
@@ -205,7 +205,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
         printf(" <- pubkey\n");
         for (i=0; i<66; i++)
             printf("%d ",mids[i]);
-        printf(" minerids from ht.%d pindex.%p\n",height,pindex);
+        printf(" minerids from ht.%d pindex.%p %d\n",height,pindex,chainActive.Tip()!=0?chainActive.Tip()->nHeight:-1);
         if ( KOMODO_LOADINGBLOCKS == 0 )
             return false;
     }
This page took 0.028471 seconds and 4 git commands to generate.