mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Use length of secureKeyPrefix
Signed-off-by: SigmoiD <alphabet@hotmail.co.kr>
This commit is contained in:
parent
bca140b73d
commit
c12d60add0
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ var (
|
|||
var secureKeyPrefix = []byte("secure-key-")
|
||||
|
||||
// secureKeyLength is the length of the above prefix + 32byte hash.
|
||||
const secureKeyLength = 11 + 32
|
||||
const secureKeyLength = len(secureKeyPrefix) + 32
|
||||
|
||||
// Database is an intermediate write layer between the trie data structures and
|
||||
// the disk database. The aim is to accumulate trie writes in-memory and only
|
||||
|
|
|
|||
Loading…
Reference in a new issue