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;