aboutsummaryrefslogtreecommitdiffstats
path: root/consensus
diff options
context:
space:
mode:
authorhadv <dvietha@gmail.com>2018-05-19 16:39:41 +0800
committerhadv <dvietha@gmail.com>2018-05-19 16:44:36 +0800
commitf2fdb75dd98769146d3284bfbd74b25e6e18e5ef (patch)
tree75882d40461e9637ffe3db033c8b72a7821d1341 /consensus
parent784aa83942e3dbc9bab0385475dbf3755a9892ac (diff)
downloaddexon-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar
dexon-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar.gz
dexon-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar.bz2
dexon-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar.lz
dexon-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar.xz
dexon-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar.zst
dexon-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.zip
core, consensus: fix some typos in comment code and output log
Diffstat (limited to 'consensus')
-rw-r--r--consensus/clique/clique.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/clique/clique.go b/consensus/clique/clique.go
index 2bdad9092..01df4d5c7 100644
--- a/consensus/clique/clique.go
+++ b/consensus/clique/clique.go
@@ -383,7 +383,7 @@ func (c *Clique) snapshot(chain consensus.ChainReader, number uint64, hash commo
// If an on-disk checkpoint snapshot can be found, use that
if number%checkpointInterval == 0 {
if s, err := loadSnapshot(c.config, c.signatures, c.db, hash); err == nil {
- log.Trace("Loaded voting snapshot form disk", "number", number, "hash", hash)
+ log.Trace("Loaded voting snapshot from disk", "number", number, "hash", hash)
snap = s
break
}