aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMymskmkt <1847234666@qq.com>2018-08-08 21:08:40 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-08 21:08:40 +0800
commit8051a0768a2af6c36b04ffa6fb225a45986d9b89 (patch)
tree40f20f84c55a045618a07bd318d1af2534b5237c
parenta1eb9c7d13240fd250866219a502d0cdc9924e06 (diff)
downloaddexon-8051a0768a2af6c36b04ffa6fb225a45986d9b89.tar
dexon-8051a0768a2af6c36b04ffa6fb225a45986d9b89.tar.gz
dexon-8051a0768a2af6c36b04ffa6fb225a45986d9b89.tar.bz2
dexon-8051a0768a2af6c36b04ffa6fb225a45986d9b89.tar.lz
dexon-8051a0768a2af6c36b04ffa6fb225a45986d9b89.tar.xz
dexon-8051a0768a2af6c36b04ffa6fb225a45986d9b89.tar.zst
dexon-8051a0768a2af6c36b04ffa6fb225a45986d9b89.zip
trie: fix comment typo (#17350)
-rw-r--r--trie/database.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/database.go b/trie/database.go
index 8675b9f0a..7df45fe2d 100644
--- a/trie/database.go
+++ b/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.