mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 05:25:35 +00:00
light/evidence: handle FLA backport (#6331)
This commit is contained in:
@@ -152,7 +152,7 @@ func getHeight(latestHeight int64, heightPtr *int64) (int64, error) {
|
||||
}
|
||||
base := env.BlockStore.Base()
|
||||
if height < base {
|
||||
return 0, fmt.Errorf("height %v is not available, lowest height is %v",
|
||||
return 0, fmt.Errorf("height %d is not available, lowest height is %d",
|
||||
height, base)
|
||||
}
|
||||
return height, nil
|
||||
|
||||
Reference in New Issue
Block a user