Explorar o código

trie: fix comment typo (#17350)

Mymskmkt %!s(int64=7) %!d(string=hai) anos
pai
achega
8051a0768a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.