This commit is contained in:
jl777
2018-04-13 17:19:23 +03:00
parent 143d63a20b
commit 1f333439ff
2 changed files with 4 additions and 2 deletions

View File

@@ -731,7 +731,9 @@ void komodo_pindex_init(CBlockIndex *pindex,int32_t height)
pindex->notaryid = -1;
if ( pindex->pubkey33[0] != 2 && pindex->pubkey33[0] != 3 && pindex->pubkey33[0] != 0xff )
{
memset(pindex->pubkey33,0xff,33);
if ( KOMODO_LOADINGBLOCKS == 0 )
memset(pindex->pubkey33,0xff,33);
else memset(pindex->pubkey33,0,33);
if ( komodo_blockload(block,pindex) == 0 )
{
komodo_block2pubkey33(pindex->pubkey33,block);