fix small typo

This commit is contained in:
ChronosX88 2021-08-02 20:40:25 +03:00
parent 7e80654c87
commit 46716ed52d
Signed by: ChronosXYZ
GPG Key ID: 085A69A82C8C511A

View File

@ -387,7 +387,7 @@ func (pcm *PBFTConsensusManager) commitAcceptedBlocks() (*types3.Block, error) {
} else if iStake.Cmp(jStake) == 1 {
return true
} else {
return blocks[i].Block.Header.Timestamp > blocks[i].Block.Header.Timestamp
return blocks[i].Block.Header.Timestamp > blocks[j].Block.Header.Timestamp
}
})