aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mikusek <petr@mikusek.info>2017-07-26 01:02:40 +0800
committerGitHub <noreply@github.com>2017-07-26 01:02:40 +0800
commit99da85c895c51e4512b1923f2fa0d040e2e1147e (patch)
tree396948974cb62f5ae1d9d252b64c2b45f674beae
parentf4841ff43dda9f41a47ec94b5a5356023eec59d4 (diff)
downloaddexon-99da85c895c51e4512b1923f2fa0d040e2e1147e.tar
dexon-99da85c895c51e4512b1923f2fa0d040e2e1147e.tar.gz
dexon-99da85c895c51e4512b1923f2fa0d040e2e1147e.tar.bz2
dexon-99da85c895c51e4512b1923f2fa0d040e2e1147e.tar.lz
dexon-99da85c895c51e4512b1923f2fa0d040e2e1147e.tar.xz
dexon-99da85c895c51e4512b1923f2fa0d040e2e1147e.tar.zst
dexon-99da85c895c51e4512b1923f2fa0d040e2e1147e.zip
trie: typo in comment
-rw-r--r--trie/sync.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/trie/sync.go b/trie/sync.go
index 9e8449431..1e4f8d87c 100644
--- a/trie/sync.go
+++ b/trie/sync.go
@@ -55,7 +55,7 @@ type SyncResult struct {
// syncMemBatch is an in-memory buffer of successfully downloaded but not yet
// persisted data items.
type syncMemBatch struct {
- batch map[common.Hash][]byte // In-memory membatch of recently ocmpleted items
+ batch map[common.Hash][]byte // In-memory membatch of recently completed items
order []common.Hash // Order of completion to prevent out-of-order data loss
}