mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
trie: bump initial buffer cap in hasher
This commit is contained in:
parent
dfb88ae4ad
commit
5fe81a7782
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ func (b *sliceBuffer) Reset() {
|
|||
var hasherPool = sync.Pool{
|
||||
New: func() interface{} {
|
||||
return &hasher{
|
||||
tmp: make(sliceBuffer, 0, 256),
|
||||
tmp: make(sliceBuffer, 0, 550), // cap is as large as a full fullNode.
|
||||
sha: sha3.NewKeccak256().(keccakState),
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue