Skip to content

Fix typos in iterator.go #3809

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

Merged
merged 4 commits into from
Apr 23, 2025
Merged
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
6 changes: 3 additions & 3 deletions database/iterator.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// See the file LICENSE for licensing terms.

// For ease of implementation, our database's interface matches Ethereum's
// database implementation. This was to allow use to use Geth code as is for the
// database implementation. This was to allow us to use Geth code as is for the
// EVM chain.

package database
Expand All @@ -28,7 +28,7 @@ type Iterator interface {

// Error returns any accumulated error. Exhausting all the key/value pairs
// is not considered to be an error.
// Error should be called after all key/value pairs have been exhausted ie.
// Error should be called after all key/value pairs have been exhausted i.e.
// after Next() has returned false.
Error() error

Expand All @@ -43,7 +43,7 @@ type Iterator interface {
Value() []byte

// Release releases associated resources. Release should always succeed and
// can be called multiple times without causing error.
// can be called multiple times without causing an error.
Release()
}

Expand Down
Loading