mirror of
https://github.com/tendermint/tendermint.git
synced 2026-05-29 18:40:34 +00:00
Fix spelling mistake
This commit is contained in:
committed by
Emmanuel Odeke
parent
206da7a1b8
commit
7790ae9e6f
@@ -89,7 +89,7 @@ func (m *memStoreProvider) GetByHeightBinarySearch(h int64) (FullCommit, error)
|
||||
var midFC FullCommit
|
||||
// Our goal is to either find:
|
||||
// * item ByHeight with the query
|
||||
// * heighest height with a height <= query
|
||||
// * greatest height with a height <= query
|
||||
for low <= high {
|
||||
mid = int(uint(low+high) >> 1) // Avoid an overflow
|
||||
midFC = m.byHeight[mid]
|
||||
|
||||
Reference in New Issue
Block a user