Browse Source

Bugfix: test_work_current: Make hexstr buffer large enough for blkhashstr later on (issuing old work msg)

Luke Dashjr 12 years ago
parent
commit
fd086dbc0c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -4920,7 +4920,7 @@ static void set_blockdiff(const struct work *work)
 static bool test_work_current(struct work *work)
 static bool test_work_current(struct work *work)
 {
 {
 	bool ret = true;
 	bool ret = true;
-	char hexstr[37];
+	char hexstr[65];
 
 
 	if (work->mandatory)
 	if (work->mandatory)
 		return ret;
 		return ret;