diff --git a/src/stellar/stellar_core.cpp b/src/stellar/stellar_core.cpp index 465998a..7af49d9 100644 --- a/src/stellar/stellar_core.cpp +++ b/src/stellar/stellar_core.cpp @@ -162,6 +162,8 @@ static void *work_thread(void *arg) uint16_t thr_idx = thread->idx; __thread_id = thr_idx; + memset(packets, 0, sizeof(packets)); + snprintf(thd_name, sizeof(thd_name), "stellar:%d", thr_idx); prctl(PR_SET_NAME, (unsigned long long)thd_name, NULL, NULL, NULL);