Updated lite tests to set ConsensusHash in header

This commit is contained in:
Ethan Frey
2017-12-14 10:42:52 +01:00
committed by Ethan Buchman
parent d151e36ea8
commit 45bc106de7
8 changed files with 22 additions and 18 deletions

View File

@ -44,7 +44,7 @@ func TestStaticCert(t *testing.T) {
for _, tc := range cases {
check := tc.keys.GenCommit(chainID, tc.height, nil, tc.vals,
[]byte("foo"), tc.first, tc.last)
[]byte("foo"), []byte("params"), tc.first, tc.last)
err := cert.Certify(check)
if tc.proper {
assert.Nil(err, "%+v", err)