From 1100e8ba633d968da8ae2caca0a5d0cf48bcfa92 Mon Sep 17 00:00:00 2001 From: gary rong Date: Mon, 9 Apr 2018 20:46:27 +0800 Subject: eth/downloader: flush state sync data before exit (#16280) --- trie/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trie/sync.go') diff --git a/trie/sync.go b/trie/sync.go index b573a9f73..4ae975d04 100644 --- a/trie/sync.go +++ b/trie/sync.go @@ -212,7 +212,7 @@ func (s *TrieSync) Process(results []SyncResult) (bool, int, error) { } // Commit flushes the data stored in the internal membatch out to persistent -// storage, returning th enumber of items written and any occurred error. +// storage, returning the number of items written and any occurred error. func (s *TrieSync) Commit(dbw ethdb.Putter) (int, error) { // Dump the membatch into a database dbw for i, key := range s.membatch.order { -- cgit v1.2.3