Commit 10ea5fbf97de09997c322b8b16e0d10e257c6f68

Con Kolivas 2012-11-05T16:57:48

Use existing pool submit_old bool from gbt data.

diff --git a/cgminer.c b/cgminer.c
index 3cbf306..504ed24 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -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);
 
diff --git a/miner.h b/miner.h
index 72bff3e..b8676fd 100644
--- a/miner.h
+++ b/miner.h
@@ -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;