fix tests

This commit is contained in:
Ethan Buchman
2017-09-22 00:10:13 -04:00
parent f279171a28
commit 318345f996
3 changed files with 10 additions and 10 deletions

View File

@ -37,7 +37,7 @@ func TestChainAware(t *testing.T) {
hash := []byte("fake block hash")
header := &types.Header{}
for i := uint64(0); i < n; i++ {
client.BeginBlockSync(&types.RequestBeginBlock{hash, header})
client.BeginBlockSync(types.RequestBeginBlock{hash, header})
client.EndBlockSync(i)
client.CommitSync()
}