aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhadv <dvietha@gmail.com>2018-06-05 10:56:45 +0800
committerhadv <dvietha@gmail.com>2018-06-05 10:56:45 +0800
commite3a993d774edfd2cf47d0862447d79e62746f5ac (patch)
tree39cbd7c39a07104df74480776e9a14b5dac8583b
parented40767355b5f3964d134ae37d0eaf78d7083bc1 (diff)
downloaddexon-e3a993d774edfd2cf47d0862447d79e62746f5ac.tar.gz
dexon-e3a993d774edfd2cf47d0862447d79e62746f5ac.tar.zst
dexon-e3a993d774edfd2cf47d0862447d79e62746f5ac.zip
core: fix typo in comment code
-rw-r--r--core/state/state_object.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/state/state_object.go b/core/state/state_object.go
index 5d203fddd..091d24184 100644
--- a/core/state/state_object.go
+++ b/core/state/state_object.go
@@ -219,7 +219,7 @@ func (self *stateObject) updateRoot(db Database) {
self.data.Root = self.trie.Hash()
}
-// CommitTrie the storage trie of the object to dwb.
+// CommitTrie the storage trie of the object to db.
// This updates the trie root.
func (self *stateObject) CommitTrie(db Database) error {
self.updateTrie(db)