light/evidence: handle FLA backport (#6331)

This commit is contained in:
Callum Waters
2021-04-08 18:49:25 +02:00
committed by GitHub
parent af35ca9cf4
commit 7869f5ec1d
16 changed files with 798 additions and 187 deletions

View File

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