fix typo
This commit is contained in:
parent
43b3352c87
commit
ed9b29c856
|
@ -168,7 +168,7 @@ func (iter prefixIterator) Key() (key []byte) {
|
||||||
|
|
||||||
// Implements Iterator
|
// Implements Iterator
|
||||||
func (iter prefixIterator) Value() []byte {
|
func (iter prefixIterator) Value() []byte {
|
||||||
if !iter.valid() {
|
if !iter.valid {
|
||||||
panic("prefixIterator invalid, cannot call Value()")
|
panic("prefixIterator invalid, cannot call Value()")
|
||||||
}
|
}
|
||||||
return iter.iter.Value()
|
return iter.iter.Value()
|
||||||
|
|
Loading…
Reference in New Issue