From 9c4e63691a8c4e00c9580e9b36a0c0b69e41dc38 Mon Sep 17 00:00:00 2001 From: ckolivas Date: Wed, 6 May 2015 15:10:38 +1000 Subject: [PATCH] Increase string storage space for enonce1/enonce1var to accommodate 8 byte nonce1length configuration --- src/stratifier.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stratifier.c b/src/stratifier.c index 106344dc..c18ed5d0 100644 --- a/src/stratifier.c +++ b/src/stratifier.c @@ -223,9 +223,9 @@ struct stratum_instance { * instance_lock */ int ref; - char enonce1[32]; + char enonce1[36]; /* Fit up to 16 byte binary enonce1 */ uchar enonce1bin[16]; - char enonce1var[12]; + char enonce1var[20]; /* Fit up to 8 byte binary enonce1var */ uint64_t enonce1_64; int session_id;