From 2f5cd4adf91be6ed6ca1a0d1a8d6e05fe1942500 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 27 Apr 2018 22:31:11 +0300 Subject: [PATCH] Test --- src/komodo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo.h b/src/komodo.h index 6e5e582fa..96259de23 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -672,7 +672,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr } else ccdata.len = MoMoMdata.len = 0; } } - if ( MoM == zero || MoMdepth > 1440 || MoMdepth < 0 ) + if ( MoM == zero || MoMdepth > *notarizedheightp || MoMdepth < 0 ) { memset(&MoM,0,sizeof(MoM)); MoMdepth = 0;