diff --git a/database/iterator.go b/database/iterator.go index 75126006d4ac..918dc5f6a193 100644 --- a/database/iterator.go +++ b/database/iterator.go @@ -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 @@ -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 @@ -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() }