mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-20 00:21:21 +00:00
Updated lite tests to set ConsensusHash in header
This commit is contained in:
committed by
Ethan Buchman
parent
d151e36ea8
commit
45bc106de7
@ -29,7 +29,7 @@ func TestSerializeFullCommits(t *testing.T) {
|
||||
// build a fc
|
||||
keys := lite.GenValKeys(5)
|
||||
vals := keys.ToValidators(10, 0)
|
||||
fc := keys.GenFullCommit(chainID, h, nil, vals, appHash, 0, 5)
|
||||
fc := keys.GenFullCommit(chainID, h, nil, vals, appHash, []byte("params"), 0, 5)
|
||||
|
||||
require.Equal(h, fc.Height())
|
||||
require.Equal(vals.Hash(), fc.ValidatorsHash())
|
||||
|
Reference in New Issue
Block a user