Skip to content
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