From c8e09a829cd640f338e5b0da47620b82ebdca0c3 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Wed, 3 Feb 2016 16:48:00 +1100 Subject: [PATCH] Initialise json merkle array --- src/stratifier.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stratifier.c b/src/stratifier.c index eddd1d54..94c67e80 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1208,6 +1208,7 @@ static void wb_merkle_bins(sdata_t *sdata, workbase_t *wb, json_t *txn_array) } } else wb->txn_hashes = ckzalloc(1); + wb->merkle_array = json_array(); if (binleft > 1) { while (42) { if (binleft == 1)