|
@ -337,9 +337,9 @@ void dpow_statemachinestart(void *ptr) |
|
|
else if ( strcmp(dest->symbol,"KMD") == 0 ) |
|
|
else if ( strcmp(dest->symbol,"KMD") == 0 ) |
|
|
{ |
|
|
{ |
|
|
kmdheight = dest->longestchain; |
|
|
kmdheight = dest->longestchain; |
|
|
portable_mutex_lock(&myinfo->MoM_mutex); |
|
|
//portable_mutex_lock(&myinfo->MoM_mutex);
|
|
|
MoM = dpow_calcMoM(&MoMdepth,myinfo,src,checkpoint.blockhash.height); |
|
|
MoM = dpow_calcMoM(&MoMdepth,myinfo,src,checkpoint.blockhash.height); |
|
|
portable_mutex_unlock(&myinfo->MoM_mutex); |
|
|
//portable_mutex_unlock(&myinfo->MoM_mutex);
|
|
|
} |
|
|
} |
|
|
if ( (bp= dp->blocks[checkpoint.blockhash.height]) == 0 ) |
|
|
if ( (bp= dp->blocks[checkpoint.blockhash.height]) == 0 ) |
|
|
{ |
|
|
{ |
|
|