From da1ae169e5780b3dca28b0b761bee1e35fd9d818 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 17 Mar 2018 01:05:16 +0200 Subject: [PATCH] Test --- iguana/dpow/dpow_fsm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 5cf43414c..59bf29330 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -337,9 +337,9 @@ void dpow_statemachinestart(void *ptr) else if ( strcmp(dest->symbol,"KMD") == 0 ) { kmdheight = dest->longestchain; - //portable_mutex_lock(&myinfo->MoM_mutex); + portable_mutex_lock(&myinfo->MoM_mutex); 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 ) {