core/types: fix typo in comment (#25249)

pull/25259/head
Seungbae.yu 2 years ago committed by GitHub
parent 926b3e08ba
commit e394d01f2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/types/hashing.go

@ -31,7 +31,7 @@ var hasherPool = sync.Pool{
New: func() interface{} { return sha3.NewLegacyKeccak256() }, New: func() interface{} { return sha3.NewLegacyKeccak256() },
} }
// deriveBufferPool holds temporary encoder buffers for DeriveSha and TX encoding. // encodeBufferPool holds temporary encoder buffers for DeriveSha and TX encoding.
var encodeBufferPool = sync.Pool{ var encodeBufferPool = sync.Pool{
New: func() interface{} { return new(bytes.Buffer) }, New: func() interface{} { return new(bytes.Buffer) },
} }

Loading…
Cancel
Save