state: Remove unnecessary comment

Signed-off-by: Thane Thomson <connect@thanethomson.com>
This commit is contained in:
Thane Thomson
2022-05-09 07:05:33 -04:00
parent 8922ae417a
commit d688cf0e47

View File

@@ -422,7 +422,6 @@ func buildLastCommitInfo(block *types.Block, store Store, initialHeight int64) a
// For heights below the initial height, for which we do not have the
// required data, it returns an empty record.
func buildLastExtendedCommitInfo(ec *types.ExtendedCommit, store Store, initialHeight int64) abci.ExtendedCommitInfo {
// We assume the current height is ec.Height + 1.
if ec.Height < initialHeight {
// There are no extended commits for heights below the initial height.
return abci.ExtendedCommitInfo{}