Cta share_hashes should be added, and we can base it on device wdiff instead of pool work difficulty for more accurate hashrates.
diff --git a/driver-cointerra.c b/driver-cointerra.c
index 2291103..2ef1a85 100644
--- a/driver-cointerra.c
+++ b/driver-cointerra.c
@@ -368,8 +368,7 @@ static void cta_parse_recvmatch(struct thr_info *thr, struct cgpu_info *cointerr
ret = submit_tested_work(thr, work);
mutex_lock(&info->lock);
- if (ret)
- info->share_hashes = (uint64_t)work->work_difficulty * 0x100000000ull;
+ info->share_hashes += (uint64_t)wdiff * 0x100000000ull;
info->hashes += nonce;
mutex_unlock(&info->lock);
} else {