aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--consensus/clique/clique.go2
-rw-r--r--core/state/statedb.go2
2 files changed, 2 insertions, 2 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
}
diff --git a/core/state/statedb.go b/core/state/statedb.go
index a952027d6..ffea761d9 100644
--- a/core/state/statedb.go
+++ b/core/state/statedb.go
@@ -358,7 +358,7 @@ func (self *StateDB) deleteStateObject(stateObject *stateObject) {
self.setError(self.trie.TryDelete(addr[:]))
}
-// Retrieve a state object given my the address. Returns nil if not found.
+// Retrieve a state object given by the address. Returns nil if not found.
func (self *StateDB) getStateObject(addr common.Address) (stateObject *stateObject) {
// Prefer 'live' objects.
if obj := self.stateObjects[addr]; obj != nil {