Sfoglia il codice sorgente

trie: fix comment typo (#17350)

Mymskmkt 7 anni fa
parent
commit
8051a0768a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.