Browse Source

Initialise json merkle array

master
ckolivas 9 years ago
parent
commit
c8e09a829c
  1. 1
      src/stratifier.c

1
src/stratifier.c

@ -1208,6 +1208,7 @@ static void wb_merkle_bins(sdata_t *sdata, workbase_t *wb, json_t *txn_array)
} }
} else } else
wb->txn_hashes = ckzalloc(1); wb->txn_hashes = ckzalloc(1);
wb->merkle_array = json_array();
if (binleft > 1) { if (binleft > 1) {
while (42) { while (42) {
if (binleft == 1) if (binleft == 1)

Loading…
Cancel
Save