From 6b7ebf2d9f27db663ce6ce1790a30040c7bf8c80 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 7 Jul 2019 22:02:04 -1100 Subject: [PATCH] Set fields --- src/komodo_nSPV_wallet.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/komodo_nSPV_wallet.h b/src/komodo_nSPV_wallet.h index 1f47a6469..47edab3b3 100644 --- a/src/komodo_nSPV_wallet.h +++ b/src/komodo_nSPV_wallet.h @@ -381,7 +381,8 @@ void komodo_nSPV(CNode *pto) // polling loop from SendMessages { if ( timestamp > NSPV_lastinfo + ASSETCHAINS_BLOCKTIME/2 && timestamp > pto->prevtimes[NSPV_INFO>>1] + 2*ASSETCHAINS_BLOCKTIME/3 ) { - int32_t reqht = 0; + int32_t reqht; + reqht = 0; len = 0; msg[len++] = NSPV_INFO; len += iguana_rwnum(1,&msg[len],sizeof(reqht),&reqht);