Browse Source

trie: fix comment typo (#17350)

Mymskmkt 7 năm trước cách đây
mục cha
commit
8051a0768a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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.