mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
trie: fix concurrent usage of secKeyBuf, ref #20920
# Conflicts: # trie/database.go
This commit is contained in:
parent
ef737c457a
commit
6230254b02
@ -58,7 +58,7 @@ var (
|
||||
var secureKeyPrefix = []byte("secure-key-")
|
||||
|
||||
// secureKeyLength is the length of the above prefix + 32byte hash.
|
||||
const secureKeyLength = 11 + 32
|
||||
const secureKeyLength = secureKeyPrefixLength + 32
|
||||
|
||||
// DatabaseReader wraps the Get method of a backing store for the trie.
|
||||
type DatabaseReader interface {
|
||||
|
Loading…
Reference in New Issue
Block a user