Browse Source

Fix spelling mistake

pull/1043/head
Adrian Brink 7 years ago
committed by Emmanuel Odeke
parent
commit
7790ae9e6f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lite/memprovider.go

+ 1
- 1
lite/memprovider.go View File

@ -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]


Loading…
Cancel
Save