Browse Source

test

pull/4/head
jl777 8 years ago
parent
commit
aa81a2b869
  1. 4
      src/rpcblockchain.cpp

4
src/rpcblockchain.cpp

@ -280,6 +280,10 @@ uint256 _komodo_getblockhash(int32_t nHeight)
{
CBlockIndex* pblockindex = chainActive[nHeight];
hash = pblockindex->GetBlockHash();
int32_t i;
for (i=0; i<32; i++)
printf("%02x",((uint8_t *)&hash)[i]);
printf(" blockhash.%d\n",nHeight);
} else memset(&hash,0,sizeof(hash));
return(hash);
}

Loading…
Cancel
Save