mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 04:24:19 +00:00
Initialize trie variable
This commit is contained in:
parent
02e0fc4db5
commit
0316101b8e
2
util.c
2
util.c
@ -1505,7 +1505,7 @@ static char *blank_merkel = "000000000000000000000000000000000000000000000000000
|
|||||||
static bool parse_notify(struct pool *pool, json_t *val)
|
static bool parse_notify(struct pool *pool, json_t *val)
|
||||||
{
|
{
|
||||||
char *job_id, *prev_hash, *coinbase1, *coinbase2, *bbversion, *nbit,
|
char *job_id, *prev_hash, *coinbase1, *coinbase2, *bbversion, *nbit,
|
||||||
*ntime, *header, *trie;
|
*ntime, *header, *trie = NULL;
|
||||||
size_t cb1_len, cb2_len, alloc_len, header_len;
|
size_t cb1_len, cb2_len, alloc_len, header_len;
|
||||||
unsigned char *cb1, *cb2;
|
unsigned char *cb1, *cb2;
|
||||||
bool clean, ret = false, has_trie = false;
|
bool clean, ret = false, has_trie = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user