1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-29 16:04:33 +00:00

Use existing pool submit_old bool from gbt data.

This commit is contained in:
Con Kolivas 2012-11-05 16:57:48 +11:00
parent f71b423080
commit 10ea5fbf97
2 changed files with 1 additions and 2 deletions

View File

@ -1574,7 +1574,7 @@ static bool gbt_decode(struct pool *pool, json_t *res_val)
pool->gbt_expires = expires;
pool->gbt_version = htobe32(version);
pool->curtime = htobe32(curtime);
pool->gbt_submitold = submitold;
pool->submit_old = submitold;
hex2bin((unsigned char *)&pool->gbt_bits, bits, 4);

View File

@ -914,7 +914,6 @@ struct pool {
int gbt_expires;
uint32_t gbt_version;
uint32_t curtime;
bool gbt_submitold;
uint32_t gbt_bits;
unsigned char *gbt_coinbase;
unsigned char *txn_hashes;