OSDN Git Service

fix-maxNonce-comment
authorHAOYUatHZ <haoyu@protonmail.com>
Sun, 8 Apr 2018 11:27:33 +0000 (19:27 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Sun, 8 Apr 2018 11:27:33 +0000 (19:27 +0800)
cmd/miner/main.go

index 3faffa8..7dc0660 100644 (file)
@@ -13,7 +13,7 @@ import (
 )
 
 const (
-       maxNonce = ^uint64(0) // 2^32 - 1
+       maxNonce = ^uint64(0) // 2^64 - 1
 )
 
 // do proof of work