OSDN Git Service

fix maxNonce comment (#491)
authorYongfeng LI <wliyongfeng@gmail.com>
Tue, 27 Mar 2018 07:51:46 +0000 (15:51 +0800)
committerGitHub <noreply@github.com>
Tue, 27 Mar 2018 07:51:46 +0000 (15:51 +0800)
mining/cpuminer/cpuminer.go

index 80d7f8d..3c3effc 100644 (file)
@@ -19,7 +19,7 @@ import (
 )
 
 const (
-       maxNonce          = ^uint64(0) // 2^32 - 1
+       maxNonce          = ^uint64(0) // 2^64 - 1
        defaultNumWorkers = 1
        hashUpdateSecs    = 1
 )