Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some comments #2276

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading