This commit is contained in:
mossid 2018-10-09 05:18:43 +09:00
parent 43b3352c87
commit ed9b29c856
1 changed files with 1 additions and 1 deletions

View File

@ -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()