diff --git a/trie/database.go b/trie/database.go index 0bc4b5fc1..c629a2353 100644 --- a/trie/database.go +++ b/trie/database.go @@ -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 {