This commit is contained in:
jl777
2016-10-20 08:35:10 -03:00
parent a7016d4bb7
commit a2eb2464fb

View File

@@ -545,7 +545,7 @@ void komodo_block2pubkey33(uint8_t *pubkey33,CBlock& block)
void komodo_index2pubkey33(uint8_t *pubkey33,CBlockIndex *pindex)
{
CBlock block;
if ( ReadBlockFromDisk(pindex->nHeight,block,(const CBlockIndex *)pindex) != 0 )
if ( ReadBlockFromDisk(block,(const CBlockIndex *)pindex) != 0 )
komodo_block2pubkey33(pubkey33,block);
}