From fe727b9d922841d15fba8897e4f1a822cf6fe7a5 Mon Sep 17 00:00:00 2001 From: Scott Sadler Date: Sat, 2 Jun 2018 16:13:21 -0300 Subject: [PATCH] zero members in notarisationdata --- src/cc/eval.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/cc/eval.h b/src/cc/eval.h index 43cdadea7..4bcdd5617 100644 --- a/src/cc/eval.h +++ b/src/cc/eval.h @@ -126,15 +126,15 @@ class NotarisationData { public: int IsBackNotarisation = 0; - uint256 blockHash; - uint32_t height; - uint256 txHash; - char symbol[64] = "\0"; - uint256 MoM; - uint16_t MoMDepth; - uint16_t ccId; - uint256 MoMoM; - uint32_t MoMoMDepth; + uint256 blockHash = uint256(); + uint32_t height = 0; + uint256 txHash = uint256(); + char symbol[64] = "\0"; + uint256 MoM = uint256(); + uint16_t MoMDepth = 0; + uint16_t ccId = 0; + uint256 MoMoM = uint256(); + uint32_t MoMoMDepth = 0; NotarisationData(int IsBack=2) : IsBackNotarisation(IsBack) {}