mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-18 07:31:20 +00:00
Add full vote to BeginBlock
This commit is contained in:
@ -92,9 +92,12 @@ func TestBeginBlockValidators(t *testing.T) {
|
||||
tc.expectedAbsentValidators[ctr] == i {
|
||||
|
||||
assert.False(t, v.SignedLastBlock)
|
||||
assert.Nil(t, v.FullVote)
|
||||
ctr++
|
||||
} else {
|
||||
assert.True(t, v.SignedLastBlock)
|
||||
assert.NotNil(t, v.FullVote)
|
||||
assert.Equal(t, *v.FullVote, types.Vote(*tc.lastCommitPrecommits[i]))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user