fix dummy test

This commit is contained in:
Ethan Buchman 2017-12-01 11:33:07 -05:00
parent b20273439d
commit fc90b2de1c
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ func TestPersistentDummyInfo(t *testing.T) {
header := &types.Header{
Height: int64(height),
}
dummy.BeginBlock(types.RequestBeginBlock{hash, header})
dummy.BeginBlock(types.RequestBeginBlock{hash, header, nil, nil})
dummy.EndBlock(types.RequestEndBlock{header.Height})
dummy.Commit()
@ -179,7 +179,7 @@ func makeApplyBlock(t *testing.T, dummy types.Application, heightInt int, diff [
Height: height,
}
dummy.BeginBlock(types.RequestBeginBlock{hash, header})
dummy.BeginBlock(types.RequestBeginBlock{hash, header, nil, nil})
for _, tx := range txs {
if r := dummy.DeliverTx(tx); r.IsErr() {
t.Fatal(r)