From f850a97b77ae45c7ede7f8993e6fbbae21808fd9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 22 Mar 2018 18:15:25 +0200 Subject: [PATCH] Test --- src/komodo.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/komodo.h b/src/komodo.h index 5d697b28a..95d3ad0ff 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -579,6 +579,8 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr sp->NOTARIZED_HEIGHT = *notarizedheightp; sp->NOTARIZED_HASH = kmdtxid; sp->NOTARIZED_DESTTXID = desttxid; + memset(&sp->MoM,0,sizeof(sp->MoM)); + sp->MoMdepth = 0; if ( len+36+nameoffset <= opretlen ) { len += iguana_rwbignum(0,&scriptbuf[len+nameoffset],32,(uint8_t *)&sp->MoM);