From f2fdb75dd98769146d3284bfbd74b25e6e18e5ef Mon Sep 17 00:00:00 2001 From: hadv Date: Sat, 19 May 2018 15:39:41 +0700 Subject: core, consensus: fix some typos in comment code and output log --- core/state/statedb.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') 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 { -- cgit v1.2.3