This commit is contained in:
jl777
2018-04-27 22:31:11 +03:00
parent 7b4e9279fb
commit 2f5cd4adf9

View File

@@ -672,7 +672,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr
} else ccdata.len = MoMoMdata.len = 0; } 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)); memset(&MoM,0,sizeof(MoM));
MoMdepth = 0; MoMdepth = 0;