From 68e726952b33302b33c28930d4753c1c9273ee9f Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 20 Mar 2018 23:10:48 +0200 Subject: [PATCH] Test --- iguana/dpow/dpow_fsm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 2dde7b20c..7ee20daa6 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -401,7 +401,8 @@ void dpow_statemachinestart(void *ptr) { kmdheight = dest->longestchain; //portable_mutex_lock(&myinfo->MoM_mutex); - MoM = dpow_calcMoM(&MoMdepth,myinfo,src,checkpoint.blockhash.height); + if ( Notaries_port != DPOW_SOCKPORT ) + MoM = dpow_calcMoM(&MoMdepth,myinfo,src,checkpoint.blockhash.height); //portable_mutex_unlock(&myinfo->MoM_mutex); } if ( (bp= dp->blocks[checkpoint.blockhash.height]) == 0 )