Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit 521e90a

Browse files
committed
Remove unused const in tools
1 parent 6c0e69b commit 521e90a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pkg/toolset/benchmark_cpu.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,11 @@ package toolset
22

33
import (
44
"context"
5-
"crypto"
65
"sync/atomic"
76

87
"golang.org/x/crypto/blake2b"
98
)
109

11-
const (
12-
// Hash defines the hash function that is used to compute the PoW digest.
13-
Hash = crypto.BLAKE2b_256
14-
)
15-
1610
func cpuBenchmarkWorker(ctx context.Context, powDigest []byte, counter *uint64) {
1711
for {
1812
select {

0 commit comments

Comments
 (0)