aboutsummaryrefslogtreecommitdiffstats
path: root/trie
diff options
context:
space:
mode:
authorMymskmkt <1847234666@qq.com>2018-08-25 02:08:48 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-25 02:08:48 +0800
commit70398d300d4da97c89f96f5c9629caa327de5c39 (patch)
tree8d2ce8dfb63d48dbc015c9b41fd562f4c7ee87cd /trie
parentc134e00e488bf4bfd88689ecf6b91ee351fb77e5 (diff)
downloadgo-tangerine-70398d300d4da97c89f96f5c9629caa327de5c39.tar
go-tangerine-70398d300d4da97c89f96f5c9629caa327de5c39.tar.gz
go-tangerine-70398d300d4da97c89f96f5c9629caa327de5c39.tar.bz2
go-tangerine-70398d300d4da97c89f96f5c9629caa327de5c39.tar.lz
go-tangerine-70398d300d4da97c89f96f5c9629caa327de5c39.tar.xz
go-tangerine-70398d300d4da97c89f96f5c9629caa327de5c39.tar.zst
go-tangerine-70398d300d4da97c89f96f5c9629caa327de5c39.zip
trie: fix typo (#17498)
Diffstat (limited to 'trie')
-rw-r--r--trie/sync.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/sync.go b/trie/sync.go
index ccec80c9e..88d6eb779 100644
--- a/trie/sync.go
+++ b/trie/sync.go
@@ -73,7 +73,7 @@ func newSyncMemBatch() *syncMemBatch {
// and reconstructs the trie step by step until all is done.
type Sync struct {
database DatabaseReader // Persistent database to check for existing entries
- membatch *syncMemBatch // Memory buffer to avoid frequest database writes
+ membatch *syncMemBatch // Memory buffer to avoid frequent database writes
requests map[common.Hash]*request // Pending requests pertaining to a key hash
queue *prque.Prque // Priority queue with the pending requests
}