Fix null txn hashes being passed to ckdb in proxy mode

This commit is contained in:
Con Kolivas 2014-08-02 15:59:07 +10:00
parent eff11a1024
commit d253a97e79

View File

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