From 2e98c3a27aadcc2ec9e30629b2e63ff31d245b1a Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 19 Nov 2016 16:27:55 -0300 Subject: [PATCH] test --- src/komodo_notary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_notary.h b/src/komodo_notary.h index d44eb5177..61c9473fa 100644 --- a/src/komodo_notary.h +++ b/src/komodo_notary.h @@ -169,7 +169,7 @@ void komodo_notarized_update(struct komodo_state *sp,int32_t nHeight,int32_t not return; } sp->NPOINTS = (struct notarized_checkpoint *)realloc(sp->NPOINTS,(sp->NUM_NPOINTS+1) * sizeof(*sp->NPOINTS)); - np = &sp->NPOINTS[NUM_NPOINTS++]; + np = &sp->NPOINTS[sp->NUM_NPOINTS++]; memset(np,0,sizeof(*np)); np->nHeight = nHeight; sp->NOTARIZED_HEIGHT = np->notarized_height = notarized_height;