From 83d2da1d70f550e47c88279a4f3cb68841b56afa Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 7 Aug 2014 11:04:54 +1000 Subject: [PATCH] Use a deep copy for stratum notify of the merkle array --- src/stratifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stratifier.c b/src/stratifier.c index 77dba375..37ede260 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -1841,7 +1841,7 @@ static json_t *__stratum_notify(bool clean) current_workbase->prevhash, current_workbase->coinb1, current_workbase->coinb2, - json_copy(current_workbase->merkle_array), + json_deep_copy(current_workbase->merkle_array), current_workbase->bbversion, current_workbase->nbit, current_workbase->ntime,