nolint
This commit is contained in:
parent
2023115ff8
commit
e8d0960cef
|
@ -198,7 +198,7 @@ func benchmarkMemStoreProviderGetByHeight(b *testing.B, fcs []lite.FullCommit, f
|
|||
qHeights = append(qHeights, 19, -100, -10000, 1e7, -17, 31, -1e9)
|
||||
|
||||
searchFn := mp.GetByHeight
|
||||
if algo == binarySearch {
|
||||
if algo == binarySearch { // nolint
|
||||
searchFn = mp.(interface {
|
||||
GetByHeightBinarySearch(h int64) (lite.FullCommit, error)
|
||||
}).GetByHeightBinarySearch
|
||||
|
|
Loading…
Reference in New Issue