This commit is contained in:
jl777
2016-10-20 08:30:15 -03:00
parent e583c8f8ba
commit a7016d4bb7

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(block,(const CBlockIndex *)pindex) != 0 )
if ( ReadBlockFromDisk(pindex->nHeight,block,(const CBlockIndex *)pindex) != 0 )
komodo_block2pubkey33(pubkey33,block);
}