mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-27 03:31:42 +00:00
state save/load test.
This commit is contained in:
@ -47,7 +47,7 @@ func (b *Block) ValidateBasic(lastBlockHeight uint32, lastBlockHash []byte) erro
|
||||
if b.Header.Network != Config.Network {
|
||||
return ErrBlockInvalidNetwork
|
||||
}
|
||||
if b.Header.Height != lastBlockHeight {
|
||||
if b.Header.Height != lastBlockHeight+1 {
|
||||
return ErrBlockInvalidBlockHeight
|
||||
}
|
||||
if !bytes.Equal(b.Header.LastBlockHash, lastBlockHash) {
|
||||
|
Reference in New Issue
Block a user