Browse Source

Use a deep copy for stratum notify of the merkle array

master
Con Kolivas 11 years ago
parent
commit
83d2da1d70
  1. 2
      src/stratifier.c

2
src/stratifier.c

@ -1841,7 +1841,7 @@ static json_t *__stratum_notify(bool clean)
current_workbase->prevhash, current_workbase->prevhash,
current_workbase->coinb1, current_workbase->coinb1,
current_workbase->coinb2, current_workbase->coinb2,
json_copy(current_workbase->merkle_array), json_deep_copy(current_workbase->merkle_array),
current_workbase->bbversion, current_workbase->bbversion,
current_workbase->nbit, current_workbase->nbit,
current_workbase->ntime, current_workbase->ntime,

Loading…
Cancel
Save