Skip to content

Commit 2b65219

Browse files
authored
consensus/ethash: fix typo (#26016)
fix typo
1 parent 8578eb2 commit 2b65219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consensus/ethash/algorithm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ func hashimoto(hash []byte, nonce uint64, size uint64, lookup func(index uint32)
339339
// Calculate the number of theoretical rows (we use one buffer nonetheless)
340340
rows := uint32(size / mixBytes)
341341

342-
// Combine header+nonce into a 64 byte seed
342+
// Combine header+nonce into a 40 byte seed
343343
seed := make([]byte, 40)
344344
copy(seed, hash)
345345
binary.LittleEndian.PutUint64(seed[32:], nonce)

0 commit comments

Comments
 (0)