mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-25 10:41:41 +00:00
nolint
This commit is contained in:
committed by
Emmanuel Odeke
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)
|
qHeights = append(qHeights, 19, -100, -10000, 1e7, -17, 31, -1e9)
|
||||||
|
|
||||||
searchFn := mp.GetByHeight
|
searchFn := mp.GetByHeight
|
||||||
if algo == binarySearch {
|
if algo == binarySearch { // nolint
|
||||||
searchFn = mp.(interface {
|
searchFn = mp.(interface {
|
||||||
GetByHeightBinarySearch(h int64) (lite.FullCommit, error)
|
GetByHeightBinarySearch(h int64) (lite.FullCommit, error)
|
||||||
}).GetByHeightBinarySearch
|
}).GetByHeightBinarySearch
|
||||||
|
Reference in New Issue
Block a user