Browse Source

Fix null txn hashes being passed to ckdb in proxy mode

master
Con Kolivas 10 years ago
parent
commit
d253a97e79
  1. 1
      src/stratifier.c

1
src/stratifier.c

@ -712,6 +712,7 @@ static void update_notify(ckpool_t *ckp)
workpadding); workpadding);
LOGDEBUG("Header: %s", header); LOGDEBUG("Header: %s", header);
hex2bin(wb->headerbin, header, 112); hex2bin(wb->headerbin, header, 112);
wb->txn_hashes = ckzalloc(1);
ck_rlock(&workbase_lock); ck_rlock(&workbase_lock);
strcpy(wb->enonce1const, proxy_base.enonce1); strcpy(wb->enonce1const, proxy_base.enonce1);

Loading…
Cancel
Save