Skip to content

Commit 99d6a13

Browse files
committed
reverted code not needed from prev commit
1 parent eb334dc commit 99d6a13

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

process/block/metablock.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1999,17 +1999,6 @@ func (mp *metaProcessor) checkShardHeadersFinality(
19991999
// verify if there are "K" block after current to make this one final
20002000
nextBlocksVerified := uint32(0)
20012001
for _, shardHdr := range finalityAttestingShardHdrs[shardId] {
2002-
isNotarizedBasedOnProofs, errCheckProof = mp.checkShardHeaderFinalityBasedOnProofs(shardHdr, shardId)
2003-
// if the header is notarized based on proofs and there is no error, break the loop
2004-
// if there is any error, forward it, header is not final
2005-
if isNotarizedBasedOnProofs {
2006-
if errCheckProof != nil {
2007-
return errCheckProof
2008-
}
2009-
2010-
break
2011-
}
2012-
20132002
if nextBlocksVerified >= mp.shardBlockFinality {
20142003
break
20152004
}

0 commit comments

Comments
 (0)