aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-07-26 15:40:41 +0800
committerGitHub <noreply@github.com>2017-07-26 15:40:41 +0800
commita602ee90f2c28eadbca8cdc2e143825a4c24ab23 (patch)
tree460319f029a34d0b9f313de009725a3faca8445e
parentfc78ce61c0bda324ab297f910d84fa833c1564f6 (diff)
parent99da85c895c51e4512b1923f2fa0d040e2e1147e (diff)
downloaddexon-a602ee90f2c28eadbca8cdc2e143825a4c24ab23.tar.gz
dexon-a602ee90f2c28eadbca8cdc2e143825a4c24ab23.tar.zst
dexon-a602ee90f2c28eadbca8cdc2e143825a4c24ab23.zip
Merge pull request #14858 from xmikus01/patch-1
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
}