test
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user