aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-05-20 00:40:55 +0800
committerGitHub <noreply@github.com>2018-05-20 00:40:55 +0800
commitab6bdbd9b0ea54897559f0f6df5c2a384a92f596 (patch)
treee0fc0af8724248b976140ddf8ef5232639c41133 /core
parent953b5ac015da7fdef39c6864bb0cb490ffaa7959 (diff)
parentf2fdb75dd98769146d3284bfbd74b25e6e18e5ef (diff)
downloaddexon-ab6bdbd9b0ea54897559f0f6df5c2a384a92f596.tar.gz
dexon-ab6bdbd9b0ea54897559f0f6df5c2a384a92f596.tar.zst
dexon-ab6bdbd9b0ea54897559f0f6df5c2a384a92f596.zip
Merge pull request #16758 from hadv/fix/typos
Fix some typos in comment code and output log
Diffstat (limited to 'core')
-rw-r--r--core/state/statedb.go2
1 files changed, 1 insertions, 1 deletions
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 {