Browse Source

Use existing pool submit_old bool from gbt data.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
10ea5fbf97
  1. 2
      cgminer.c
  2. 1
      miner.h

2
cgminer.c

@ -1574,7 +1574,7 @@ static bool gbt_decode(struct pool *pool, json_t *res_val) @@ -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);

1
miner.h

@ -914,7 +914,6 @@ struct pool { @@ -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;

Loading…
Cancel
Save