Skip to content

Commit

Permalink
Remove unnecesary else
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Sep 2, 2024
1 parent ce2d724 commit aaa4304
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/mmr/mmr_batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ func (b *MMRBatch) getElement(pos uint64) (*MMRElement, error) {
return &node.elements[int(pos-node.pos)], nil
}
return nil, nil
} else {
break
}
break
}

return b.storage.getElement(pos)
Expand Down

0 comments on commit aaa4304

Please sign in to comment.