Fix redundant type converstion (#13076)

* Fix redundant type converstion

* Revert generated changes

---------

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
terencechain
2023-10-20 08:07:10 -07:00
committed by GitHub
parent 88e1b9edb3
commit 823f8ee3a2
14 changed files with 21 additions and 23 deletions

View File

@@ -23,7 +23,7 @@ func (x *SyncCommittee) Equals(other *SyncCommittee) bool {
}
func FloorLog2(x uint64) int {
return bits.Len64(uint64(x - 1))
return bits.Len64(x - 1)
}
func isEmptyWithLength(bb [][]byte, length uint64) bool {