diff options
author | gary rong <garyrong0905@gmail.com> | 2018-04-09 20:46:27 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-04-09 20:46:27 +0800 |
commit | 1100e8ba633d968da8ae2caca0a5d0cf48bcfa92 (patch) | |
tree | 86bc7ad0a079cd05c065078999618b4dcca616b0 /trie/sync.go | |
parent | 0fac705ed0a2efcda4da9dce8971bbda73f299d5 (diff) | |
download | go-tangerine-1100e8ba633d968da8ae2caca0a5d0cf48bcfa92.tar go-tangerine-1100e8ba633d968da8ae2caca0a5d0cf48bcfa92.tar.gz go-tangerine-1100e8ba633d968da8ae2caca0a5d0cf48bcfa92.tar.bz2 go-tangerine-1100e8ba633d968da8ae2caca0a5d0cf48bcfa92.tar.lz go-tangerine-1100e8ba633d968da8ae2caca0a5d0cf48bcfa92.tar.xz go-tangerine-1100e8ba633d968da8ae2caca0a5d0cf48bcfa92.tar.zst go-tangerine-1100e8ba633d968da8ae2caca0a5d0cf48bcfa92.zip |
eth/downloader: flush state sync data before exit (#16280)
Diffstat (limited to 'trie/sync.go')
-rw-r--r-- | trie/sync.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |