Parcourir la source

trie: fix comment typo (#17350)

Mymskmkt il y a 7 ans
Parent
commit
8051a0768a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      trie/database.go

+ 1 - 1
trie/database.go

@@ -51,7 +51,7 @@ const secureKeyLength = 11 + 32
 
 // DatabaseReader wraps the Get and Has method of a backing store for the trie.
 type DatabaseReader interface {
-	// Get retrieves the value associated with key form the database.
+	// Get retrieves the value associated with key from the database.
 	Get(key []byte) (value []byte, err error)
 
 	// Has retrieves whether a key is present in the database.