aboutsummaryrefslogtreecommitdiffstats
path: root/core
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 /core
parent784aa83942e3dbc9bab0385475dbf3755a9892ac (diff)
downloadgo-tangerine-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar
go-tangerine-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar.gz
go-tangerine-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar.bz2
go-tangerine-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar.lz
go-tangerine-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar.xz
go-tangerine-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.tar.zst
go-tangerine-f2fdb75dd98769146d3284bfbd74b25e6e18e5ef.zip
core, consensus: 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 {