all: remove redundant conversions and import names (#21903)
This commit is contained in:
@@ -173,7 +173,7 @@ func (it *nodeIterator) LeafKey() []byte {
|
||||
func (it *nodeIterator) LeafBlob() []byte {
|
||||
if len(it.stack) > 0 {
|
||||
if node, ok := it.stack[len(it.stack)-1].node.(valueNode); ok {
|
||||
return []byte(node)
|
||||
return node
|
||||
}
|
||||
}
|
||||
panic("not at leaf")
|
||||
|
Reference in New Issue
Block a user