This commit is contained in:
jl777
2018-03-24 14:16:00 +02:00
parent 663304d963
commit b3548b524d
2 changed files with 2 additions and 2 deletions

View File

@@ -816,7 +816,7 @@ int32_t komodo_MoM(int32_t *notarized_heightp,uint256 *MoMp,uint256 *kmdtxidp,in
int32_t depth,notarized_ht; uint256 MoM,kmdtxid;
depth = komodo_MoMdata(&notarized_ht,&MoM,&kmdtxid,nHeight);
memset(MoMp,0,sizeof(*MoMp));
memset(*kmdtxidp,0,sizeof(*kmdtxidp));
memset(kmdtxidp,0,sizeof(*kmdtxidp));
*notarized_heightp = 0;
if ( depth > 0 && notarized_ht > 0 && nHeight > notarized_ht-depth && nHeight < notarized_ht )
{