瀏覽代碼

trie: fix comment typo (#17350)

Mymskmkt 7 年之前
父節點
當前提交
8051a0768a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.