Skip to content

Commit

Permalink
Merge pull request #2276 from binchengqu/develop
Browse files Browse the repository at this point in the history
chore: fix some comments
  • Loading branch information
benbaley authored Nov 21, 2024
2 parents 9b49de3 + b6d4bdf commit 3f7c948
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/snapshotdb/snapshotdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ type DB interface {
Compaction() error
SetEmpty() error

//ues to Revert failed tx
// use to Revert failed tx
RevertToSnapshot(hash common.Hash, revid int)
Snapshot(hash common.Hash) int
}
Expand Down
2 changes: 1 addition & 1 deletion core/state/dump.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (s *StateDB) DumpToCollector(c DumpCollector, conf *DumpConfig) (nextKey []
return nextKey
}

// RawDump returns the entire state an a single large object
// RawDump returns the entire state as a single large object
func (s *StateDB) RawDump(opts *DumpConfig) Dump {
dump := &Dump{
Accounts: make(map[common.Address]DumpAccount),
Expand Down
2 changes: 1 addition & 1 deletion log/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func PrintOrigins(print bool) {
var locationEnabled uint32

// locationLength is the maxmimum path length encountered, which all logs are
// padded to to aid in alignment.
// padded to aid in alignment.
var locationLength uint32

// fieldPadding is a global map with maximum field value lengths seen until now
Expand Down

0 comments on commit 3f7c948

Please sign in to comment.