Skip to content

Commit 3d1da12

Browse files
committed
cleanup
1 parent a61f61b commit 3d1da12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/tbcd/level/level.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ func (l *ldb) KeystonesByHeight(ctx context.Context, height uint32, depth int) (
20532053
if len(kssList) == 0 {
20542054
return nil, database.NotFoundError(fmt.Sprintf("no first occurrence "+
20552055
"keystones range: %v < %v",
2056-
min(start+1, end), max(start, end-1)))
2056+
min(start+1, end), max(start, end)-1))
20572057
}
20582058

20592059
return kssList, nil

0 commit comments

Comments
 (0)