Fix typo
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
diff --git a/driver-spondoolies.c b/driver-spondoolies.c
index a47386c..80492a8 100644
--- a/driver-spondoolies.c
+++ b/driver-spondoolies.c
@@ -316,7 +316,7 @@ static bool spondoolies_queue_full(struct cgpu_info *cgpu)
a->works_in_driver++;
a->works_pending_tx++;
a->mp_next_req->req_count++;
- a->my_jobs[a->current_job_id].merkel_root = pkt_job->mrkle_root;
+ a->my_jobs[a->current_job_id].merkle_root = pkt_job->mrkle_root;
a->my_jobs[a->current_job_id].ntime_clones++;
}
@@ -375,7 +375,7 @@ static int64_t spond_scanhash(struct thr_info *thr)
minergate_do_job_rsp* work = a->mp_last_rsp->rsp + i;
job_id = work->work_id_in_sw;
if ((a->my_jobs[job_id].cgminer_work)) {
- if (a->my_jobs[job_id].merkel_root == work->mrkle_root) {
+ if (a->my_jobs[job_id].merkle_root == work->mrkle_root) {
assert(a->my_jobs[job_id].state == SPONDWORK_STATE_IN_BUSY);
a->works_in_minergate_and_pending_tx--;
a->works_in_driver--;
@@ -400,7 +400,7 @@ static int64_t spond_scanhash(struct thr_info *thr)
} else {
a->bad++;
printf("Dropping minergate old job id=%d mrkl=%x my-mrkl=%x\n",
- job_id, a->my_jobs[job_id].merkel_root, work->mrkle_root);
+ job_id, a->my_jobs[job_id].merkle_root, work->mrkle_root);
}
} else {
a->empty++;
diff --git a/driver-spondoolies.h b/driver-spondoolies.h
index 4766a79..484ce80 100644
--- a/driver-spondoolies.h
+++ b/driver-spondoolies.h
@@ -32,7 +32,7 @@ typedef enum spond_work_state {
typedef struct {
struct work *cgminer_work;
SPONDWORK_STATE state;
- uint32_t merkel_root;
+ uint32_t merkle_root;
time_t start_time;
int job_id[MAX_NROLES];
int ntime_clones;