Skip to content

Commit

Permalink
remove n == 0 switch case
Browse files Browse the repository at this point in the history
  • Loading branch information
weiihann committed Jan 17, 2025
1 parent b67ff0a commit bc15cc3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/trie/bitarray.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,6 @@ func (b *BitArray) Lsh(x *BitArray, n uint8) *BitArray {
}

switch {
case n == 0:
return b
case n >= 192:
b.lsh192(x)
n -= 192
Expand Down

0 comments on commit bc15cc3

Please sign in to comment.